PDA

View Full Version : Major Additions - Email Integration (New threads/replies by email)


Pages : 1 [2] 3 4 5

fxs158
08-02-2007, 06:15 PM
Not any way that I know how. At least not without having access to your outgoing mailserver and password.

Even for example, yahoo, when I set it up to look like I'm sending email from cyricx(at)mmogcommunities(dot)com when someone reads my emails, it'll show as coming from that address, and reply to will be to that address.

While that email address is actually a forwarder that forwards email to my yahoo account.

When I send an email to the site to be processed as a post, it sees my yahoo address. It ignores all the reply to and sending as junk. Goes straight to the guts :)

So how is the email authenticated?

Cyricx
08-02-2007, 06:23 PM
Like so


// this grabs an overview of all the messages in the mailbox and creates an array we can read
$letters = imap_fetch_overview($mailbox,"1:$amountmessages",0);

//then later in the cron file it checks the array we made above and determines the sender and host to determine the email address.
$fromaddress = $letter->sender[0]->mailbox ."@".$letter->sender[0]->host;

// then later it does this query to find a user that has that email address
$userinfo = $vbulletin->db->query_first("
SELECT user.*, usertextfield.*
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
WHERE email = '".addslashes(htmlspecialchars($fromaddress))."'
");

// finally in the cron file it does this which is where if there is not a user found in the above query, it sends the person an error message.

// If Email Address belongs to a user
if (!$userid)
{
$userinfo['username'] = "Unregistered User";
$userinfo['languageid'] = 0;
eval(fetch_email_phrases('ei_error_nouser', $userinfo['languageid']));
vbmail($fromaddress, $subject, $message);
imap_delete($mailbox,$msgno);
continue;
}


You guys are killin me here :)

I think I've mentioned this a few times in this thread how it determines the user that is posting :)

Tralala
08-02-2007, 07:00 PM
Cyricx, just wanted to give you a hearty pat on the back... your hack is looking most excellent and the support you're providing in this community is very much appreciated.

cynthetiq
08-02-2007, 07:33 PM
Actually... wait, if I understand the description of regex correctly, I'm doing that already...

it's using preg_match and preg_replace, which I do.

Exactly what does m2f do to match a user to an email? (don't have time to dig through all their code and decode it all to figure it out :) )

I wanted to have a guest post, such as someone who wanted to join the guild I have a form that generates an email. So the only registered user is the replying people. The original post is a guest. But m2f has a filtering system that allows one to regex out things like valium, XXX. Those emails to the forum do not get posted and are either moderated in a queue or ignored.

Cyricx
08-02-2007, 07:41 PM
Perhaps using this hack to create that first post would be better? :)

https://vborg.vbsupport.ru/showthread.php?t=126676&highlight=form

Then you would be able to take your existing form, send an email to someone if you needed and also have it create the new thread in the forum in question, which you could then utilize my hack to reply to :)

Hypothetically speaking of course :)

O and as far as the regex filter, basically your saying that M2F lets you setup that if XXX is in the email address, it has to be moderated?

cynthetiq
08-02-2007, 07:52 PM
Perhaps using this hack to create that first post would be better? :)

https://vborg.vbsupport.ru/showthread.php?t=126676&highlight=form

Then you would be able to take your existing form, send an email to someone if you needed and also have it create the new thread in the forum in question, which you could then utilize my hack to reply to :)

Hypothetically speaking of course :)

O and as far as the regex filter, basically your saying that M2F lets you setup that if XXX is in the email address, it has to be moderated?
I did see that hack and I added it to my list to investigate as well. I'm currently running m2f on a phpbb forum. I really hate phpbb since I had to add like 90 mods to get it close to teh same functions that vb has out of the box.

anyways, I was hoping for one mod, but I'll go for two.

Yes it does do two kinds of regex things, one to strip out and/or replace things like the yahoo/AOL mail signature, and also block spam.

Cyricx
08-02-2007, 07:55 PM
Ah, yes what they do with their "regex" stuff I do alot of. I hadn't figured out how to get the yahoo and aol stuff out of the sig, but I'll check that out.

This mod definately blocks spam like M2F does from how you've described the features to me :)

I'll check out M2Fs pregs and see if it'll help spur ideas on how I can do that in my code :)

Thanks!!

cynthetiq
08-02-2007, 08:00 PM
sure, thanks. I'll let you know how it compares.

It is already set to block the following:

Block emails with "failure notice" in Subject
Block emails with "Undelivered Mail Returned to Sender" in Subject
Block emails with "Autoreply" in Subject
Block emails with "Mail delivery failed: returning message to sender" in Subject
Block emails with "Your email requires verification" in Subject

Cyricx
08-02-2007, 08:19 PM
O awesome.

Those are easy to code. I'll add those to the error codes for the next version I fire out :)

Thanks!!!! :)

Cyricx
08-02-2007, 08:19 PM
Cyricx, just wanted to give you a hearty pat on the back... your hack is looking most excellent and the support you're providing in this community is very much appreciated.

Thanks bro! :)

ChurchMedia
08-02-2007, 08:54 PM
I'm really excited about releasing this to my community. They will LOVE it! So, great work!

I'm having a problem with BB Code not being formatted correctly and broken links (see attached screenshots). Is there something I'm doing wrong? I'm using MS Outlook and VB 3.8.

Thanks! :)

fxs158
08-02-2007, 10:22 PM
Like so


// this grabs an overview of all the messages in the mailbox and creates an array we can read
$letters = imap_fetch_overview($mailbox,"1:$amountmessages",0);

//then later in the cron file it checks the array we made above and determines the sender and host to determine the email address.
$fromaddress = $letter->sender[0]->mailbox ."@".$letter->sender[0]->host;

// then later it does this query to find a user that has that email address
$userinfo = $vbulletin->db->query_first("
SELECT user.*, usertextfield.*
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
WHERE email = '".addslashes(htmlspecialchars($fromaddress))."'
");

// finally in the cron file it does this which is where if there is not a user found in the above query, it sends the person an error message.

// If Email Address belongs to a user
if (!$userid)
{
$userinfo['username'] = "Unregistered User";
$userinfo['languageid'] = 0;
eval(fetch_email_phrases('ei_error_nouser', $userinfo['languageid']));
vbmail($fromaddress, $subject, $message);
imap_delete($mailbox,$msgno);
continue;
}


You guys are killin me here :)

I think I've mentioned this a few times in this thread how it determines the user that is posting :)

Thanks for the info, I am no coder but if i am understanding correctly this is checking that the email comes from the correct address and or domain and then cross reference the email with one of my database.

I am still not understanding how the script would prevent someone with an email address on same domain and a fake header, from posting as someone else.

I would think that a better approach would be to issue a unique hash to each user on the forum and when the email is sent to them this hash must be somewhere in the email so that when users reply the software will authenthicate the user. Or something along the lines.


Great job by the way on the scrip, I have not been this excited about a hack in a long time!!!!!

cynthetiq
08-03-2007, 03:26 AM
O awesome.

Those are easy to code. I'll add those to the error codes for the next version I fire out :)

Thanks!!!! :)

Well, if you added a section within the forum setup where you have your email configurations to also include some additional regex items where one can put them in manually it would be a great way to stop spam.

I looked in depth at the form hack and the WoW hack based on form hack and they both require turning off the CAPTCHA image verification to allow guest posting

Here's some screenies of what the m2f backend settings and config are like and it really keeps the system from getting spammed.

https://vborg.vbsupport.ru/external/2007/08/20.jpg

https://vborg.vbsupport.ru/external/2007/08/21.jpg

https://vborg.vbsupport.ru/external/2007/08/22.jpg

Cyricx
08-03-2007, 11:13 AM
I would think that a better approach would be to issue a unique hash to each user on the forum and when the email is sent to them this hash must be somewhere in the email so that when users reply the software will authenthicate the user. Or something along the lines.


Great job by the way on the scrip, I have not been this excited about a hack in a long time!!!!!

The massive downside to that is that they would have to remember and include that hash for when they wanted to create new threads. Significantly killing the user friendliness of this modification. :(

Cyricx
08-03-2007, 11:15 AM
Well, if you added a section within the forum setup where you have your email configurations to also include some additional regex items where one can put them in manually it would be a great way to stop spam.

I looked in depth at the form hack and the WoW hack based on form hack and they both require turning off the CAPTCHA image verification to allow guest posting

Here's some screenies of what the m2f backend settings and config are like and it really keeps the system from getting spammed.

Thanks!! I'll review these and release a version that checks for these things like autoreply and such by early next week. (Have meetings all this weekend heh).

I estimate a release by tuesday :)

Also, yes, it'll be in the options :)

It'll have to be to allow for multiple languages heh :)

fxs158
08-03-2007, 11:17 AM
I am also a little concerned about spam, if a spam boot gets hold of the email. They will start spamming it, the script will receive each email and basically return an error to each of the bogus email addresses sent by the spam software, this will cause my board to become a spamming hub as I will be replying to bogus addresses and in essence become a spammer myself. Maybe setup the software to delete any emails that are not in the db, or simply configure a forum to dump posts from unknown emails?

fxs158
08-03-2007, 11:18 AM
The massive downside to that is that they would have to remember and include that hash for when they wanted to create new threads. Significantly killing the user friendliness of this modification. :(

what if the hash was included on the subject line of the email on the way out of the server? so when they reply to the email then the hash for that user is already inserted for them?

I will do some testing on my board, but if there is a way for someone to bypass the filter and post as another user, then we are approaching this from the wrong angle. Security must prevail over functionality and ease of use. I love the idea of this mod and it is working flawlessly on my site so far!!!

Cyricx
08-03-2007, 11:24 AM
I am also a little concerned about spam, if a spam boot gets hold of the email. They will start spamming it, the script will receive each email and basically return an error to each of the bogus email addresses sent by the spam software, this will cause my board to become a spamming hub as I will be replying to bogus addresses and in essence become a spammer myself. Maybe setup the software to delete any emails that are not in the db, or simply configure a forum to dump posts from unknown emails?

The code I posted above has this line :)


imap_delete($mailbox,$msgno);


That flags the message to be deleted when the script is complete. So any message that errors out gets deleted.

As mentioned, the scripts next creation will handle any "returned mail" errors that you would get from an invalid email address :)

I really really appreciate your input!! Your bringing up some great points!


what if the hash was included on the subject line of the email on the way out of the server? so when they reply to the email then the hash for that user is already inserted for them?

That would work great for replies... but not for new threads :(

Or forwarded messages to create new threads would also not work for that system :(

I'm not opposed to a more secure system to receive posts... just wanna make sure it's feasible :)

The previous "Mail Reply" system by Colin F, created a new user profile field that people could put in a password. It hashed that onto the subject line of posts sent to users that when they replied validated the reply.

He then had users have to put something like

-pmypassword

at the end of subject lines of new threads if I recall right.

That seems infeasible, and definatley not user friendly enough to compete with yahoo groups.

I'm curious... will false headers from the same domain work to post to yahoo groups? has anyone tried?

fxs158
08-03-2007, 01:19 PM
Well how about this, regular threads would get a random password attached to the subject line. New threads one must add a user password to subject line. If I have to type a whole email to make a post, I do not see why functionality would be sacrificed due to requiring that I type a password on the subject line right after my topic.

It would not be fully automated, but it would definitely beat, having a competitor spam the board with an email bomber. Can you imagine the work to clean that mess? Allot of sites are ran on shared accounts, all I would have to do is get an account on the shared server and then fake the headers and that could spell trouble for an unsuspected site.

I am not trying to be difficult, competition is though as it is, just do not want to give other sites a way to mess with my forum.

Cyricx
08-03-2007, 01:30 PM
I'm mixed, I'd rather try to avoid having users that are sending threads to the forum have to do alot extra, or remember a password.

Heck, I have users now that have to reset their passwords weekly because they can't remember them :)

I'd love to hear from others on if they think that this would be nessecary.

Or if anyone else has any alternate ideas :)

Secondly, if you have a "competitor" on a shared server spamming your board... I'd really wonder why your host isn't doing something about that, as the end result would be them crippling their servers ;)

I understand your not trying to be difficult. :)

I just don't find the system your suggesting to be feasible, and would like to find an alternative :)

OS Master
08-03-2007, 08:04 PM
Can you use this with Google Apps?

Piggo
08-04-2007, 12:26 AM
v2.1 looking good, Cyricx.

I did find a little error: when in USERGROUP MANAGER, and "automatically add Instant Notification by Email subscriptions" is set to YES, but no FORUM IDs are selected, the *[ei_auto_sub]* link gives a nasty syntax error.

dc3dreamer
08-04-2007, 04:44 AM
V2.1 - This is someting I looked at doing last year and forgot it "too much time required". I want to thank you very much for doing this! I'll definitely donate some $$$ to back that up. I do have a few ideas w.r.t threading replies (using the References: SMTP header and the post ID for example), but that's for later!

Right now I have only one significant bug. HTML posts coming from Thunderbird 2.0.0.6 (latest) start with {font=Arial,Helvetica,sans-serif} (but with [] not {}) so somehow the bbCode isn't getting translated.

Anyway, thanks so much again!

dc3dreamer
08-04-2007, 04:52 AM
PS: Don't bust your butt on anti-spam. This would best be handled by the SMTP mail server that's receiving the incoming posts destined for the forums. You'll end up re-inventing that huge wheel, and the SMTP servers out there have all sorts of fancy and complex spam traps already. To them, the forums' email addresses are just user accounts to be protected just like any other "user".

I'd much rather see you work on the threading and HTML/bbCode functionality :D:D I'm going to see if I can work out threading here, but my initial look is a bit overwhelming given that I'm not a PHP/VB expert. Wow.

I just donated $50 - money well spent IMO!

dc3dreamer
08-04-2007, 11:10 PM
Woo Hoo! I can now send out messages from newly created threads and replies to same (created in VB), and the resulting email messages thread properly in the email client. I probably have missed some corner case, but so far so good! I produce the Message-ID: header and (for replies) the References: header with IDs of the form threadid.postid@forum.host.com. Minimal mods to Notify_Email_for_New_Posts (replies) and Thread_Notification_Email (new threads) hooks. A lot of "just in time learning"!!

I have to say, your code is so well structured and so complete. I have a high level of confidence in your mod working reliably and handling all of the cases it needs to. Good work!

Now to see if I can get emailintegration.php to work with the new Message-Id/References headers to thread incoming email posts correctly. If I get this working, there'll no longer need to be all that stuff in the [] in the subject line, as the thread ID is part of the new Message-Id: header, and the parent to which to thread the incoming post will be in the References: header if it's not being threaded directly to the initial post of the thread.

I'm having fun at least.

dc3dreamer
08-05-2007, 06:38 AM
Got it! Threading works in both directions, with the emailer's and the forum's thread trees being identical, regardless of where a message comes from. The "-t-nnnn" is now gone from the subject line (change to the ei_notify_xxx phrases).

One thing I ran into when posting HTML from T-Bird with Helvetica, Arial set as the default font, I kept getting stray [font=Helvetica, Arial, sans-serif] bbcodes in the messages posted in the forum. I found the problem, the "hail mary" cleanup for [font=xxx] needs a space in the character class of its regex. Once I put that in there, the problem disappeared.

Man that message "purty"-fication code is crazy. Well you must have gone crazy getting it to work with the different emailers out there. I don't really even understand some of it :-)

Tomorrow I'll do more testing and I have a few TODOs to pick up, then I'll roll it up and send it along. I need your email address, so I sent you a PM with mine so you can send me a message and I'll have it.

Thanks again!

dc3dreamer
08-05-2007, 07:31 AM
With regard to spamming - check out Domain Keys and DKIM (forget Microsoft's competing proposal, it's dying/dead). Here's an easy to understand explanation

http://antispam.yahoo.com/domainkeys

The 'key' is, as I was talking about earlier, the mail server manages this, rejecting messages when the From: address is forged. One could impose the requirement that all incoming posts to their VB forums be DKIM-authenticated. This requires that the sender's mailserver support DKIM as well as the server hosting the VB forum mailboxes. I don't see a practical way of handling forged From addresses winthin individual clients (short of signing and verifing signatures, requiring everyone to have certs, etc.). Think of DKIM as a sort of driver-client architecture, where the common problem of address authentication is solved at the common points, the mail servers.

Don't burn time trying to do something in you stuff. Yahoo! uses DK in Yahoo! groups, so expect it to be widely available.

dc3dreamer
08-05-2007, 03:10 PM
There's an unclosed <a> tag in the ei_notify_xxx phrases for the Replies to this topic link.

Also, in case you missed it, T-bird can produce a font list with spaces after the commas, so you need to add a space to the character class in the font tag hail mary cleanup.

Cyricx
08-06-2007, 11:35 AM
Can you use this with Google Apps?
I'm uncertain, is this another modification offered here? if so, can you please provide a link?

v2.1 looking good, Cyricx.

I did find a little error: when in USERGROUP MANAGER, and "automatically add Instant Notification by Email subscriptions" is set to YES, but no FORUM IDs are selected, the *[ei_auto_sub]* link gives a nasty syntax error.
Noted, I'll program an error message that will stop the save process is that is set to use and forum ids is blank :)


Got it! Threading works in both directions, with the emailer's and the forum's thread trees being identical, regardless of where a message comes from. The "-t-nnnn" is now gone from the subject line (change to the ei_notify_xxx phrases).

One thing I ran into when posting HTML from T-Bird with Helvetica, Arial set as the default font, I kept getting stray [font=Helvetica, Arial, sans-serif] bbcodes in the messages posted in the forum. I found the problem, the "hail mary" cleanup for [font=xxx] needs a space in the character class of its regex. Once I put that in there, the problem disappeared.

Man that message "purty"-fication code is crazy. Well you must have gone crazy getting it to work with the different emailers out there. I don't really even understand some of it :-)

Tomorrow I'll do more testing and I have a few TODOs to pick up, then I'll roll it up and send it along. I need your email address, so I sent you a PM with mine so you can send me a message and I'll have it.

Thanks again!
Yes, I went NUTZ!! I am going to slowly work it into one cleanup if I can. :) Your right about the space, that's fixed in my upcoming version as well as I'm doing some code to strip the size bbcode due to there being some confusion for the wysig converter making open size tags without closed tags.


There's an unclosed <a> tag in the ei_notify_xxx phrases for the Replies to this topic link.

I'll check this out now! That may be what was causing the damnable occasional extra ! in some email clients.

AyeCapn
08-06-2007, 12:57 PM
just curious how the ahck will react to hard and soft email bounces. Will it post the error messages in the forum?

Cyricx
08-06-2007, 01:16 PM
just curious how the ahck will react to hard and soft email bounces. Will it post the error messages in the forum?

The next version will handle those and keep the messages from going through.

Oversight on my part. :)

The next version will be released VERY soon :) A day or two at max.

AyeCapn
08-06-2007, 08:50 PM
so... it was a big busy day for me as I launched the hack to my site of 1200 users.

Hey guess what? It doesn;t know how to filter out "Out of Office" replies! :D

that reply generates a post which generates an email which generates a post... until my server crashed! :)

Pissed off some folk too :(

Cyricx
08-06-2007, 08:56 PM
Yeah... I mentioned this a few times so far that it doesn't. :(

Fxs158 found this bug, and it'll be fixed in this next version I'm releasing in the next two days.

I had meetings all weekend for the not-for-profit org I do work for, so I wasn't able to spend any time on this mod til today. :(

ChurchMedia
08-07-2007, 12:38 AM
Hi -- I'm getting this error when trying to join a usergroup. Looks like your code. When I disabled the e.i. product the error went away:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT ei_forumid, ei_auto
FROM vb_usergroup
WHERE usergroupid =
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4
Error Number : 1064
Date : Monday, August 6th 2007 @ 07:33:06 PM
Script : http://www.churchmedia.net/CMN/profile.php?do=joingroup
Referrer : http://www.churchmedia.net/CMN/profile.php?do=editusergroups
IP Address : XXXXXXXXXXXXX
Username : Tim Eason
Classname : vb_database

Thanks and keep up the great work!

Cyricx
08-07-2007, 02:02 AM
That's for a usergroup that does not have ei_auto setup for it correct?

ChurchMedia
08-07-2007, 02:47 AM
Yeah, I didn't set up hardly anything since I'm waiting on the next release.

That's for a usergroup that does not have ei_auto setup for it correct?

rpainter
08-07-2007, 10:06 AM
Hello. I installed this mod, and it works great, except that attachments are not working. It will add the attachment to the post. When you click the attachment, you just get a page cannot be displayed error. See here:

http://scbbqtalk.com/forum/showthread.php?t=750

Please let me know what i did wrong (I followed instructions). Thanks.

rpainter
08-07-2007, 02:05 PM
Hi -- I'm getting this error when trying to join a usergroup. Looks like your code. When I disabled the e.i. product the error went away:



Thanks and keep up the great work!
Getting the same error.

rbgrn
08-07-2007, 04:36 PM
That's where I'm getting confused then :)

How are the threads being replied to? I mean... how are they getting the emails that they are replying too?

if your not allowing replies, why are you applying emails as replies to a thread? :)

Ok I'll explain once more. I pull mail in from a mailing list to my BB as read-only threads. it's 1-way communication. I assemble them into threads like gmail assembles emails into threads. If you want an example, check out http://www.diyelectriccar.com/forums/ and have a look at the "External Information" forum, which has a few forums that use this. You'll see immediately what I'm talking about. I think this will be a common use of your mod as people try to gravitate toward forums but don't want to leave an old mailing list behind.

Cyricx
08-08-2007, 11:47 AM
Sorry for not getting the update out yesterday gang. Working out the bugs of hybrid/threaded mode to work for the transition over.

Also...

tooth extraction > finishing code

tekguru
08-08-2007, 01:42 PM
Not a problem Chris, ready when you are mate!

ChurchMedia
08-08-2007, 03:01 PM
Yeah, I think we are ready to wait until you're ready to release this and able to make sure everything is in line. You're doing us all a favor, after all. I did send you a little incentive anyway -- I encourage others to go ahead and donate some $$ to you for your efforts. I don't think you're the type to just drop the hack, but make it the best you can.

Thanks again!

Cyricx
08-08-2007, 08:17 PM
All -

In my usual busy and hectic weekend way of life I'll be out until Sunday evening starting tomorrow morning.. Heading out on vacation with the famn damily to St Louis :)

Gotta keep them happy or the wife and kids will string me up! :)



Yeah, I think we are ready to wait until you're ready to release this and able to make sure everything is in line. You're doing us all a favor, after all. I did send you a little incentive anyway -- I encourage others to go ahead and donate some $$ to you for your efforts. I don't think you're the type to just drop the hack, but make it the best you can.

Thanks again!

Thank you VERY much!!!


Ok I'll explain once more. I pull mail in from a mailing list to my BB as read-only threads. it's 1-way communication. I assemble them into threads like gmail assembles emails into threads. If you want an example, check out http://www.diyelectriccar.com/forums/ and have a look at the "External Information" forum, which has a few forums that use this. You'll see immediately what I'm talking about. I think this will be a common use of your mod as people try to gravitate toward forums but don't want to leave an old mailing list behind.
I will absolutely check this out sunday or monday to get a complete idea of what you are hoping to accomplish with this hack, and then see what I can do to accomodate that as well :)

Hello. I installed this mod, and it works great, except that attachments are not working. It will add the attachment to the post. When you click the attachment, you just get a page cannot be displayed error. See here:

http://scbbqtalk.com/forum/showthread.php?t=750

Please let me know what i did wrong (I followed instructions). Thanks.

Unfortunately with my timeline for getting this version released I wasn't able to check out this bug or miss-install yet. I will check it some today and more sunday.

Hopefully it'll be something easy I can figure out for ya in the hour I have before I gotta start getting ready for the trip :)

tekguru
08-08-2007, 08:41 PM
Sounds good Chris updated and installed!

OS Master
08-08-2007, 08:49 PM
No. There isn't any other modification about Google Apps. Basically I use it to manage my e-mail. I can create accounts there and manage them. I tried using Google's settings and it doesn't work; I didn't get any e-mails.

Cyricx
08-08-2007, 08:51 PM
So basically, your using a (name)@gmail.com as the email address to catch the replies and new threads from?

glennno
08-08-2007, 11:20 PM
This looks great! AyeCapn alerted me to this mod. I intend to use it pretty much like Tralala -- no email posting, just email notification of ALL posts.

My Yahoo users who I'm trying to get migrated over to vB are upset that they only get emails for threads they've posted in (forget trying to teach them about subscribing), and that even then they only get a notice of the first new post, not all of them.

So I'm installing now.

Also, I'm very impressed with all the work and updating and feedback you're giving, Cyricx, so I'm supporting with some $ too.

Thanks.

glennno
08-08-2007, 11:58 PM
Yes it can, you'll just need to disable the scheduled task that runs.

Also, the emails are completely phrased. The two you'll need to fiddle with to customize and remove the reply stuff will be "ei_notify_thread_forum" and "ei_notify_post_forum".

Since you are not going to use the email retrieval side of it you will not need imap.

But I must stress to everyone else that will be using email retrieval... be very careful fiddling with those phrases as the cron job looks for

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

and

You can also begin a new thread by sending an email to $foruminfo[ei_replyaddress]!

and cuts everything out between that to remove the signatures and the links from emails and posts. If you mess with either of those or remove them, signatures will get duplicated in posts and emails :)

But Tralala, since your talking about not using that retrieval, you won't experience any side effects from completely chopping up those phrases to your delight :)

.
EDITED:

I'm using it the same way as Tralala (i.e., not letting users post via email). I followed all the install directions, then revised the phrases "ei_notify_thread_forum" and "ei_notify_post_forum" and disabled the cron job. I enabled usergroups for "Email Reply Integration Settings" for all forums. I enabled "Enable Email Integration for this forum?" for each forum. But no notifications are going out.

Any ideas on where I should be looking for what I'm missing?

In the forum settings, I tried both filling in and leaving blank the "Email Address user's should reply to" field. I assume I can leave it blank since I don't want them to reply to the emails, but neither try worked.

Thanks for any help anyone can offer!
G

fxs158
08-09-2007, 12:16 PM
I am still having problems with the links on the email. If I copy and paste the links they look as follows;

"note that the only intentional space is left after http."

To unsuscribe to this email group;

http ://www.mysite.com/forums/subscription. php?do=addsubscription&f=12

Reply to this topic;

http ://www.mysite.com/forums/showthread.ph p?t=4180

Start new thread via forum
http ://www.mysite.com/forums/newthread.php ?do=newthread&f=12

The only link that works right is;

Reply via Forum

Thanks in advanced for looking into this!!!!!!!

OS Master
08-09-2007, 03:10 PM
So basically, your using a (name)@gmail.com as the email address to catch the replies and new threads from?

No. Let me explain:

I let Google handle e-mails for my domain. I put their MX records there so I can get e-mail addresses like "webmaster[at]usingyouros[dot]com". So can this hack work for something like this?

Virtex-II
08-09-2007, 08:37 PM
Nothing happens on my forum, I think I did it all the way it was supposed to be done but I don't receive any email. Can someone please help?

ChurchMedia
08-09-2007, 10:04 PM
Man, you ROCK!! This is up and running on my board and almost everything is working perfectly. The only bug I've seen is that is this:

>> Create a new thread by email
>> Put a smilie in it :)
>> The smilie shows up fine in the forum
>> When you get the email back the smilie is a broken link
<img src="images/smilies/smile.gif" border="0" alt="" title="Smilie" class="inlineimg" />

The http://www.yoursite.com/forums/ is missing. This seems to only be on new threads. Replies are fine.

Thanks again. This was money well spent for me. :)

alessai
08-10-2007, 02:01 AM
:eek: wut?!!! i think im dreaming :eek:

this product make forums in a really newlevel

:p i have a quastion how can the user subscribe in a froum so he can recevie the threds??

and one more thing i changed my MX (for the email) to domains live so wut am i supposed to put ? pop3 or wut?

ChurchMedia
08-10-2007, 02:20 AM
I put together an end-user tutorial for my forum. It's not the best, but here it is:
http://www.churchmedia.net/CMN/vbarticles.php?do=article&articleid=6

Virtex-II
08-10-2007, 07:39 AM
Can someone show me an example of how to configure the fields on Forums & Moderators -> Edit ...
Maybe can someone suggest a way to test the system on a private forum before using it for all forums?

Thanks a lot!


Best Regards :)

Tralala
08-10-2007, 08:10 AM
I put together an end-user tutorial for my forum. It's not the best, but here it is:
http://www.churchmedia.net/CMN/vbarticles.php?do=article&articleid=6


Your forum requires registration... can you copy and paste your tutorial here, please? It'd be appreciated...

ChurchMedia
08-10-2007, 02:22 PM
Your forum requires registration... can you copy and paste your tutorial here, please? It'd be appreciated...

My permissions were set wrong. I just installed vBarticles. Sorry! Try it again:
http://www.churchmedia.net/CMN/vbarticles.php?do=article&articleid=6

ChurchMedia
08-10-2007, 02:32 PM
Can someone show me an example of how to configure the fields on Forums & Moderators -> Edit ...
Maybe can someone suggest a way to test the system on a private forum before using it for all forums?


1) Through your website control panel (NOT vBulletin), create an email address that makes sense for the forum (e.g. If it's a forum for PowerPoint, name it powerpoint@yoursite.com).
2) Go to Forum Manager in VB admin CP and choose the forum you want to use the email for.
2) Scroll to the bottom where the Email Integration is.
3) Fill in the blanks and save!

That's it! I attached a screenshot of my setting (has bogus info but it's how it should look). As far as a test forum, I just set up a new forum that only I can see and played around with it to make sure it was working.

Virtex-II
08-10-2007, 03:13 PM
Thanks a lot ChurchMedia for your help! Your post and your tutorial (I registered to your forum) cleared all my doubts.

I still have some questions...The links reported on the e-mail seem to be uncorrect (I use OE), for example:

http://www.mydomain.com/forums/subscription.ph%20%20p?do=addsubscription&f=2the red part doesn't make the link work properly.

All the other links are uncorrect (spaces appear in them) but seem to work right.

When someone tries to answer via email, how long does it take to have the new thread on the forum?

When I run the cron job I get this error:

Email Integration

Warning: imap_open() [function.imap-open (http://lnx.lucreziagraf.com/forums/lgacp_pp/function.imap-open)]: Couldn't open stream {http://webmaildomini.aruba.it/cgi-bin/webmail.cgi:110/pop3/notls}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213or

Email Integration

Warning: imap_open() [function.imap-open (http://lnx.lucreziagraf.com/forums/lgacp_pp/function.imap-open)]: Couldn't open stream {http://webmaildomini.aruba.it/cgi-bin/webmail.cgi:143/novalidate-cert}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213
Is there anyway to fix them?

Regards!!!

ChurchMedia
08-10-2007, 03:24 PM
I haven't had that first problem. I guess Cyricx needs to answer that one.

For the second problem, make sure you have IMAP installed and running correctly on your server. I just switched to POP3 when I got that error and it works great.

When someone tries to answer via email, how long does it take to have the new thread on the forum?

The cron job to post it to the forums and send emails runs every 10 minutes. There's no way to shorten that (that I know of).

Good luck!

Virtex-II
08-10-2007, 03:42 PM
Thanks ChurchMedia the point is that I got the error even if I try the POP3 option :( Actually I tried all of them without receiving a good result!!!

Virtex-II
08-10-2007, 04:52 PM
On version 2.2 the variable $newpost[postid] doesn't seem to be parsed in the right way in the notification system. That's what I get in the email:

http://www.mydomain.com/forums/newreply.php?do=newreply&noquote=0&p=

rpainter
08-10-2007, 05:00 PM
Installed the new version, and still having issues with attachments. Any ideas?

ChurchMedia
08-10-2007, 07:06 PM
Thanks ChurchMedia the point is that I got the error even if I try the POP3 option :( Actually I tried all of them without receiving a good result!!!

That sounds like a server issue. Contact your host and make sure IMAP is set up.

Big-K
08-11-2007, 06:45 AM
nice hack. I cant wait to get this working on my site

I got the following error when I ran cron job. What's wrong? Email Integration


Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Done

Marv
08-12-2007, 09:38 AM
I know - this is the 3.6 section. But has anyone tested this baby on 3.5.x ? I am looking for this mod since I left 3.0.0 behind me ;)

tekguru
08-12-2007, 10:16 AM
Well I've had to go back to using verison 2.1 as for my system at least importation of emails is failing with 2.2. I did mention this to Chris via email a few days back but I guess the message was not received?

As soon as I went back to 2.1 all the queued emails came through to the forums in a flood.

Anyone else seeing the issue?

AyeCapn
08-13-2007, 05:41 PM
For some reason 2.2 ignores the group memberships... I have created a publicly-joinable group for email notifications, but it still sends to all registered users...

dot2slash
08-14-2007, 06:23 AM
i maded some experiences about the "google Problem" and most of the other isues
reportet ....

iam running a Linux box .. fedora 4/Apache2/php4.domethings/qmail ..
canot write or reply with Gmail at all ..
using gmail ... BUT connecting with outlook express its working fine ...
so its somethings about the parsing from the website ...

however ... my 2nd box
is windows .net Webedition.
IIS6/php5/Uses same mailbox on the linuxbox/everything else is same
same vb version same EMail integration version.

BUT (!)

sending to there replys or threads via macmail,gmail(web),gmail(outlook)
in all formats .. (html or plain) .. work perfectly ...

Cyricx
08-14-2007, 02:13 PM
Sorry guys, just got back sunday from vacation and the fit hit the shan on the homefront. Car and house problems.

It may be a few more days til I can catch up on posts and emails. Gotten a few bug reports on the latest version that I need to go over.

Just didn't want you all to think I had dropped off the face of the planet :)

glennno
08-14-2007, 03:25 PM
Welcome back. Thanks for the heads up. Good luck!

vocoder
08-14-2007, 05:32 PM
I am running into a problem. I can reply via email no problem, but when someone else (who is in the same usergroup I am in) does, they get a message saying they don't have the correct permission to reply by email

any ideas what I should be looking for? This person is also a member of the administrators user group (just like me) so I don't understand why it isn't working for him

MikeH2911
08-14-2007, 09:44 PM
Just wanted to say, excellent mod, I really appreciate it. got it installed and working fine, only question I have is that the email subject headings are coming up with the thread id number next to the forum title, i.e.

[Test-t-234]Test subjest.


Any idea why? And can this be fixed. Other than this there is absolutely no problem with it it's working perfectly :)

EDIT: Forgot to ask about a digest option for people who don't want to receive every single email. Is this a possibility? It's the only thing I'd add if I could. Was looking at the cron code but I'm not up to speed on it so wouldn't be any help sadly.

Cheers

Mike

dot2slash
08-15-2007, 06:45 AM
the mod works fine ....
but if there are more as one email to spool its getting in serious problem ... topics and body mixed ....
or just not processed without any message back, post or log entrys

another thing ....
public posts (if enabled group1 to post) causes some random user is assigned to the post ...

it would be cool in another version to be able assign a user for public posts ...

jzewatsky
08-16-2007, 07:25 PM
I'm running my board on a virtual server through godaddy. I've been told that IMAP is not available on a virtual server. I would love to use this mod, it would greatly enhance my board.

Any ideas?

AyeCapn
08-16-2007, 07:29 PM
Just wanted to say, excellent mod, I really appreciate it. got it installed and working fine, only question I have is that the email subject headings are coming up with the thread id number next to the forum title, i.e.

[Test-t-234]Test subjest.
This is how the hack knows what thread to post the reply to.

Cyricx
08-16-2007, 07:38 PM
Haven't abandoned ya guys, just getting slammed hard at work, end of quarter and all that jazz. Bear with me and I'll get 2.2 bugs fixed and moving towards 3.0 :)


I'm running my board on a virtual server through godaddy. I've been told that IMAP is not available on a virtual server. I would love to use this mod, it would greatly enhance my board.

Any ideas?

This must be something specifically with godaddy. One of the sites I used to help build was hosted on a VPS (Virtual Private Server) with westhost and it allowed IMAP to be enabled.

I have not found any reliable way to pull the information for emails without using imap :(

Cyricx
08-16-2007, 07:40 PM
the mod works fine ....
but if there are more as one email to spool its getting in serious problem ... topics and body mixed ....
or just not processed without any message back, post or log entrys

another thing ....
public posts (if enabled group1 to post) causes some random user is assigned to the post ...


it would be cool in another version to be able assign a user for public posts ...

More then one email to spool causes problems? Hmm, on the live board I have this on, I commonly spool 6-7 emails per forum, with 3 forums enabled for this per pass. It hasn't mixed any messages, subjects or users up in my experience.

As for group 1, you mean unregistered users?

Cyricx
08-16-2007, 07:48 PM
I know - this is the 3.6 section. But has anyone tested this baby on 3.5.x ? I am looking for this mod since I left 3.0.0 behind me ;)
Hypothetically, it would work with 3.5, you'd have to edit the product xml and remove the execution orders. But this is not tested with 3.5 to my knowledge.


nice hack. I cant wait to get this working on my site

I got the following error when I ran cron job. What's wrong?
Are you certain your using the latest build? Please download 2.2 and be sure you are overwriting the emailintegration.php file in your /includes/cron/ file.


Installed the new version, and still having issues with attachments. Any ideas?
Please describe your exact issues with attachments, or email me again. I know we briefly discussed it via email.. but things have been nutz lately :)

On version 2.2 the variable $newpost[postid] doesn't seem to be parsed in the right way in the notification system. That's what I get in the email:

http://www.mydomain.com/forums/newreply.php?do=newreply&noquote=0&p=
Eek, I'll check this out. Are you getting this from
1) Emails for new threads posted from the forum
2) Emails for replies posted from the forum
3) Emails for new threads posted from email
4) Emails for replies posted from email
Thanks!!


Thanks a lot ChurchMedia for your help! Your post and your tutorial (I registered to your forum) cleared all my doubts.

I still have some questions...The links reported on the e-mail seem to be uncorrect (I use OE), for example:

http://www.mydomain.com/forums/subscription.ph%20%20p?do=addsubscription&f=2the red part doesn't make the link work properly.

All the other links are uncorrect (spaces appear in them) but seem to work right.

When someone tries to answer via email, how long does it take to have the new thread on the forum?

When I run the cron job I get this error:

Email Integration

Warning: imap_open() [function.imap-open (http://lnx.lucreziagraf.com/forums/lgacp_pp/function.imap-open)]: Couldn't open stream {http://webmaildomini.aruba.it/cgi-bin/webmail.cgi:110/pop3/notls}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213or

Email Integration

Warning: imap_open() [function.imap-open (http://lnx.lucreziagraf.com/forums/lgacp_pp/function.imap-open)]: Couldn't open stream {http://webmaildomini.aruba.it/cgi-bin/webmail.cgi:143/novalidate-cert}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213
Is there anyway to fix them?

Regards!!!
1) Problem with links. What mail browser are you using to view the messages? Outlook, yahoo, gmail, etc?
2) Timeline on emails being posted - Every 10 minutes is the earliest, longer if your board is inactive for awhile. All cron jobs work when the footer template is called.
3) Your using the wrong connection type to try to connect to the mailbox. Try one of the other connection types.

Cyricx
08-16-2007, 07:53 PM
EDIT: Forgot to ask about a digest option for people who don't want to receive every single email. Is this a possibility? It's the only thing I'd add if I could. Was looking at the cron code but I'm not up to speed on it so wouldn't be any help sadly.

Cheers

Mike
You can do this now by going to the subscribe to forum linka nd selecting daily or weekly. But you will not be able to reply to those emails to post a reply to a thread. I think hypothetically the template for those emails could be editted to enable links but honestly I don't know.


I am running into a problem. I can reply via email no problem, but when someone else (who is in the same usergroup I am in) does, they get a message saying they don't have the correct permission to reply by email

any ideas what I should be looking for? This person is also a member of the administrators user group (just like me) so I don't understand why it isn't working for him
Your absolutely certain that they are in the primary or secondary usergroup that is in the field in the forum manager for:
Please enter the usergroup IDs that can post and reply by email.

Cyricx
08-16-2007, 07:56 PM
For some reason 2.2 ignores the group memberships... I have created a publicly-joinable group for email notifications, but it still sends to all registered users...
Resolved this issue via email.

He had previous setup for usergroup 2 to have this forum as a subscribed forum. Then used the script to update everyones subscriptions. Then down the road decided to change what users were in control of that forum. Meanwhile all the people in usergroup 2 continued to get the emails as they had already had their subscriptions setup :)

In the next version I'll try to work up a solution for this. Maybe an admin clear all subscriptions for a forum or something like that.

dot2slash
08-16-2007, 11:32 PM
As for group 1, you mean unregistered users?

Yes .. it works fine ... but the poster is mostly me (maybe its as iam always there;) )
but a few posts i did see where from another user with no relation to the post/borum or the posters emailadress.

i have a "inbox board" where all groups have post permissions.
i also set all primary groups in mail integration settings to allow.

cronlog -> attachment ..

dot2slash
08-17-2007, 12:51 AM
More then one email to spool causes problems? Hmm, on the live board I have this on, I commonly spool 6-7 emails per forum, with 3 forums enabled for this per pass. It hasn't mixed any messages, subjects or users up in my experience.

it seems like the problem apears if someone uses Gmail ... OR google apps to post only ...
i just maded some testposts (almost 20) .. with diffrent users ...
no problem at all ! one gmail email ... and problems beginning ...
its also mail send trough gmail Webinterface only ...
not mails send trough gmail or gapps .. with another client

MikeH2911
08-17-2007, 09:46 AM
Same thing for me. If the emails are received in my outlook account at work, fine no problem, replying from there is fine too.

For some reason gmail doesn't parse the html in the emails and just dumps the html out on the page leaving the user to sort through the mess to find the content. Also, when I reply from my gmail account I receive a reply from the forum telling me I don't have permission to post. This is a complete kicker because the gmail account is the email address I use for my forum admin account and the outlook one is the one I was using for my registered user testing, when I reply from my outlook account at work it gets added to the forum no prob.

I'm guessing that the problem here is gmail but I wouldn't have a clue where to start...

I also noticed that for some reason, although everything is setup identically and should be working fine, this hack is only working in one forum despite being enabled in four of them.

Mike

asiegel
08-17-2007, 01:43 PM
First, thanks for a great hack!

Now I have a really silly question that I hope you guys can help me with. I am going to install this hack and got caught up on one piece. In the instructions it says- create a new mail box on your server. I'm not quite sure what to do with this bit. Let me break down my setup for you.

I have vBulletin running on a server outside of my organization. And I have an exchange server in-house that handles all of our email. And our domain is handled by yet another server. I would like to setup email integration for several different forums that we have running off of this one vBulletin install.

If you could please tell me what mailbox (do I need a separate mailboxes for each forum?) I need to setup and how I go about all of this I would really appreciate it.

Sorry for being such a novice!

Thanks,
A

Tralala
08-17-2007, 02:35 PM
Yes, seperate mailboxes for each and every sub-forum.

Create a mailbox like you would if you had a new employee who needed a new email address.

Antivirus
08-17-2007, 03:45 PM
Hi Cyricx, will this also include text from Private Messages if the member has "Receive email notification when receiving a new private message" turned on?

dc3dreamer
08-17-2007, 10:50 PM
In the next version I'll try to work up a solution for this. Maybe an admin clear all subscriptions for a forum or something like that.My latest code drop to you has this handled in a more elegant way, I think. I added a rather small bit of PHP/SQL code to NotifyEmailForNewPosts that removes all thread subscriptions for the user who is about to receive the forum subscription email, for that forum. As things progress, the thread subscriptions just disappear as needed. No admin or user activity required. It's working perfectly here on my VB system.

dc3dreamer
08-17-2007, 10:57 PM
For some reason gmail doesn't parse the html in the emails and just dumps the html out on the page leaving the user to sort through the mess to find the content.I alerted Cyricx about this. Don't chase rainbows ... what's happening is that if someone has a thread subscription for the current thread as well as a forum subscription for the forum in which the thread is contained, Email Integration first sends the HTML message from the forum subscription, then after the plugin exits, VB goes to send the notification message for the thread subscription. For some reason which I could not spook out, the contents of the VB thread subscription email (and the subject) are from the EMail Integration message. The rest of the mail headers, though are the normal VB thread subscription ones. The result is that the message is typed as text/plain, yet it contains the HTML body from EMail Integration, which the message receiver sees as raw HTML. I know this is hard to follow, but I found this and failed to squash it the "right" way. Instead, as my prev. message explains, I just remove the thread subscriptions, preventing those (redundant) emails from being sent :-)))))

tekguru
08-18-2007, 10:12 AM
Chris any feedback as to why 2.2 failed to import mail for us?

We've had to go back to 2.1 to get it to function and as you know that has the SQL bug still in there..... Desperate to get that fixed but until we can find out whay it fails to import we can not go back to 2.2.

lionheart53
08-19-2007, 08:36 PM
I believe this addon will be a great addition. I eventually want the full implementation but for now I'm trying to install and just get the instant notification of new posts via email, but it doesn't seem to work. So I'd like to have it so each forum can get instant notification posts via email but nobody able to reply and post yet. Is this doable? Can I use one email address for all forums for the time being?

I tried setting it up with one email address for all forums as pop3 and just didn't put in any user groups to post via email and so far no posts are being sent out. Any help is appreciated (i'm reading through the pages of posts here to see if this was already answered anywhere).

Thanks

Big-K
08-19-2007, 09:19 PM
We have noted in tests that some posts/threads sent via email includes advertorials and email signatures. I have noticed this with Yahoo advertorials in particular. This is a problem. Is there a way to parse out the actual posts without posting advertorials and signatures?

Also would the solution described here make this Mod work with gmail?
http://www.mikeindustries.com/blog/archive/2006/04/how-to-use-gmail-over-imap

Cyricx
08-20-2007, 11:58 AM
Hi Cyricx, will this also include text from Private Messages if the member has "Receive email notification when receiving a new private message" turned on?
No, this does not currently handle private messaging.

Chris any feedback as to why 2.2 failed to import mail for us?

We've had to go back to 2.1 to get it to function and as you know that has the SQL bug still in there..... Desperate to get that fixed but until we can find out whay it fails to import we can not go back to 2.2.
Tek, I'll get with you today via email to see if we can determine whats going on :)


I believe this addon will be a great addition. I eventually want the full implementation but for now I'm trying to install and just get the instant notification of new posts via email, but it doesn't seem to work. So I'd like to have it so each forum can get instant notification posts via email but nobody able to reply and post yet. Is this doable? Can I use one email address for all forums for the time being?

I tried setting it up with one email address for all forums as pop3 and just didn't put in any user groups to post via email and so far no posts are being sent out. Any help is appreciated (i'm reading through the pages of posts here to see if this was already answered anywhere).

Thanks
To set this up to only send out notifications of new threads and posts, but NOT allow reply emails.

Turn on auto subscription for each of the forums in question. Enter the email address that the emails are coming through (can be admins).

Go to the usergroup manager, enable auto subscription for the usergroup, enter the forum ids they automatically get subscribed to.

Under usergroups use the Auto Subscriptions script to update forum subscriptions.

Now go to languages and phrases and search for "ei_notify" in phrase variable and edit those to your liking, most importantly be sure to remove the you can reply to this.

Lastly... those that DO want to allow replies, DO NOT change the ei_notify! It is very important as currently the script looks for the two -=-=-=-=- lines to remove users sigs and the links to the forum from reposting.


We have noted in tests that some posts/threads sent via email includes advertorials and email signatures. I have noticed this with Yahoo advertorials in particular. This is a problem. Is there a way to parse out the actual posts without posting advertorials and signatures?

Also would the solution described here make this Mod work with gmail?
http://www.mikeindustries.com/blog/archive/2006/04/how-to-use-gmail-over-imap

I have not yet found a way to remove the yahoo advertisements. On the sigs, it's the sigs that they setup in their emails right? it's not the forum signatures reposting?

The forum signatures should be getting stripped, as far as stripping signatures that they setup for their email to add to the message. No, I do not believe there will be any way to differentiate the message body from that signature as it is added on their side without a universal separator.

In regards to gmail, I'll check into that :)

TCattitude
08-20-2007, 03:18 PM
I am still not understanding how the script would prevent someone with an email address on same domain and a fake header, from posting as someone else.

I would think that a better approach would be to issue a unique hash to each user on the forum and when the email is sent to them this hash must be somewhere in the email so that when users reply the software will authenthicate the user. Or something along the lines.

I will think about the same. That feature IS a must.

Maybe a new setting in usercp to put a new "email posting password", different from the login password (vb's password). Then a user MUST use that password in some part of the email, or in the very beginning of the email's subject in order to be able to post as that user.
So the system internally get that password from the email, validate it, and post the message if its valid. Discard it if its invalid (even log the "email post try", with the content and ip adress to check possible problematics users later).

I will use this mod if some type of security like that is added.
Great job anyways! ;)

cgmckeever
08-20-2007, 10:46 PM
So - I am migrating from MailMan to vBulletin, mainly because of this plugin!! Thanks!!

The question is, I have a ton of archived mailing list posts. I was thinking while I am in migration mode, if I added the 'unregistered' group to the email integration and allowed anonymous posting, it would work. I could then forward all the mail as the user to the pop3 and let vB bringing it in.

Then when I am set, I can turn those back off, and lock it down for no-anonymous posting.

Unfortunately, it didnt work that well -- or at all.

Any ideas how I could do this Mailman migration - something simple using the pop retirever in Email Integration would be slick

thanks
Chris

Tralala
08-21-2007, 04:01 PM
Hi Cyricx, will this also include text from Private Messages if the member has "Receive email notification when receiving a new private message" turned on?

That's got nothing to do with this hack, really. And you could easily include text from Private Messages in the email notificiation, simply by adding $plaintext_message to the pmreceived phrase.

Cyricx
08-23-2007, 12:25 PM
Just wanted to give everyone a heads up :)

I'm starting to work on 2.3 here are some of the changes I'll be adding in from others and working on myself

From Ed:
*Configurable newline character for emails (This may be null depending on the vbmail function)
*Subscription manager interface

From Bob:
*Performance and memory saving
*Handle post parentids correctly - affects threaded and hybrided mode.

My focuses will be:
*Get the system to use vbmail.. the spooling is a nessecity for large boards
*Get rid of all that [quote] stuff. It looks kick ass, but it just will never be reliable. This will also significantly clean up and speed up the email cleaning procedure as half of that is determining what kinda email it is to start and end the quotes on. Not to mention some people like to reply within other's posts.
*Get it to accept html attachments, like forwarded messages if the admin sets to accept all attachments.
*Gmail integration, allow a gmail address to be used to retrieve emails from.
*Allow an alternative install that doesn't allow import emails for those that just want the notifications.

There is no time frame on this as the rewriting of the regex's will be quite an undertaking, not to mention trying to get this thing to work using vbmail to send html emails without editting the files will be quite a trick I think. :)

Anyway. That's what I'm hoping for 2.3 :)

No eta on that release, but keep your fingers crossed!

Slave
08-24-2007, 11:39 AM
Just installed 2.2 .. seems to work well .. thanks for the hard work on this :)

The only problem I can see is if it's a quiet forum (say for a small group of friends) and no one visits the forums, but just uses the emails. Wouldn't this mean no email is processed due to it using the vbcron? Is there a way of getting around this?

Cyricx
08-24-2007, 11:48 AM
Just installed 2.2 .. seems to work well .. thanks for the hard work on this :)

The only problem I can see is if it's a quiet forum (say for a small group of friends) and no one visits the forums, but just uses the emails. Wouldn't this mean no email is processed due to it using the vbcron? Is there a way of getting around this?

Not that I have yet found. The scheduled tasks are run when the footer template is called from someone visiting if I recall right. This keeps the server from working overtime doing unneeded cleanups and such.

I'm uncertain yet if this is something I want to try to change. On one hand, I'm happy not to be hitting the server every 10 minutes when nothing is going on and maybe if I can get the email processor to pull the time an email was sent to assign that to the post may work well.

On the other hand, I'm unsure of an alternative way to get the cron to run every 10 minutes when noone is visiting from within vbulletin.

If someone has an alternate way to run the cron job from within vbulletin I'd certainly entertain the thought of working it into the mod :)

Slave
08-24-2007, 01:46 PM
Oh, one thing I've noticed is that it is dropping the closing quote tag when I reply via email.

Would that have anything to do with me not using html mail in outlook?

Cyricx
08-24-2007, 01:54 PM
Oh, one thing I've noticed is that it is dropping the closing quote tag when I reply via email.

Would that have anything to do with me not using html mail in outlook?

Forming the quote boxes around the previous message is very very unreliable. I'll actually be doing away with it in the next version for a few reasons.

1) It's just too unreliable and almost impossible to determine all the multitude of possible email message types out there.
2) some people respond via email by adding their comments in the middle of the previous poster's message (yes.. I hate it when people do that... but they do...), this makes it even harder to discern the previous post from the current when it's put in the quote box.

Summary - has to do with your email format, your using a format that I haven't seen yet so the code wasn't setup for that. :( Next version this will be fixed.

Slave
08-24-2007, 02:10 PM
For the quote issue .. it might be worth taking a look at the NNTP Gateway hack ..

https://vborg.vbsupport.ru/showthread.php?t=92588

They don't put a quote tag around previous messages, but they do seem to colourise them depending on how many >'s there are per line .. it might be something you could use.

As for the cron issue .. have a look at vBMS ..

https://vborg.vbsupport.ru/showthread.php?t=125890

From what I remember filbert could never get vbcron to work with his hack so setup his own cron job .. not sure if that still relied on page refreshes or not but worth a look perhaps.

Tralala
08-24-2007, 08:12 PM
For the cron issue, would this help in any way? vB AJAX cron (https://vborg.vbsupport.ru/showthread.php?t=123719)

lacalvin2000
08-27-2007, 01:06 AM
Greetings,

Great program but I cannot figure out why I continue to this error. I have read all 24 pages of this thread:

Fatal error: Call to undefined function: imap_open() in /home/socal/public_html/forum/includes/cron/emailintegration.php on line 111

I have tried all 6 options under mail connections. And receive this error no matter what type of connection I use.

I have manually connected via outlook and outlook express to pop3 and IMAP and can send and receive emails successfully.

When viewing the PHP Info under Maintenance>view PHP - I do show any imap install. But I am successful in send/receive via IMAP

In the FAQ & other posts it mentions line 70 - but mine is line 111.

Thanks for your help.

Christopher

dot2slash
08-27-2007, 02:50 AM
Wouldn't this mean no email is processed due to it using the vbcron? Is there a way of getting around this?

just add a cron (real cron) ... make a wget to index.php ;-)
and delete it as well ... thats it ..

Cyricx
08-27-2007, 11:46 AM
Greetings,

Great program but I cannot figure out why I continue to this error. I have read all 24 pages of this thread:

Fatal error: Call to undefined function: imap_open() in /home/socal/public_html/forum/includes/cron/emailintegration.php on line 111

I have tried all 6 options under mail connections. And receive this error no matter what type of connection I use.

I have manually connected via outlook and outlook express to pop3 and IMAP and can send and receive emails successfully.

When viewing the PHP Info under Maintenance>view PHP - I do show any imap install. But I am successful in send/receive via IMAP

In the FAQ & other posts it mentions line 70 - but mine is line 111.

Thanks for your help.

Christopher

The lines of the code has changed alittle through the progression :)

it's the same error.

You will need to ask your host to ENABLE imap in php. You do NOT have to have IMAP installed, just enabled in the php.ini file :)

That will fix that error :)

Cyricx
08-27-2007, 11:53 AM
Details on enabling imap functions can be found here -
http://us.php.net/manual/en/ref.imap.php

lacalvin2000
08-28-2007, 01:44 AM
Thanks - the host did not have this compiled on my server. POP3 works like a charm.

Awesome product. Perfect for transition from Yahoo Groups.

AyeCapn
08-28-2007, 08:13 AM
one month in this is the single best hack I have installed. Hands down. Nothing has helped increase member participation like this before.

Thanks Chris!

cgmckeever
08-28-2007, 05:06 PM
I have installed email integration with thread prefixes. I have set up both, but when a email response is sent, the title is not reflective of the prefix attached with that message.

is there something that I may have overlooked?

Cyricx
08-28-2007, 05:37 PM
No, it's something I haven't been able to incorporate yet.

The biggest brainfart is how I'm going to have people define prefixes when they are sending a new thread without it being a pain in the ass.

Cyricx
08-28-2007, 05:39 PM
I'll be lookin for beta testers very soon as I'm going to rewrite the regex from the ground up.

So far 2.3 will have:


Memory saving code fix for bbcode parser - DONE 8/28!
vbmail for posts of threads and replies from forums - DONE 8/28!
select which folder emails pull from per email address - DONE 8/28!
Added error message for what forum is causing the error when manually running the cron job - DONE 8/28!
Added userid to the display output for the autosubscription script - DONE 8/28!I'm currently working on vbmail to be used for the cronjob and for a userinterface for forumsubscriptions. The interface skeleton code was provided by Ed. I've almost got it reformated to be able to handle mass appeal :)

edit - o yeah... duh. to be a beta tester PM me please and I'll reply with the url and logins for the test site.

AyeCapn
08-28-2007, 05:53 PM
No, it's something I haven't been able to incorporate yet.

The biggest brainfart is how I'm going to have people define prefixes when they are sending a new thread without it being a pain in the ass.parse it from the subject line?

cgmckeever
08-28-2007, 06:13 PM
RE: subject prefixes

Well - I may have come up with a workaround for the email replies --
it pulls a default prefix for the forum and applies it accordingly -- works in my test cases.

If you could give me a hint how to change the out bound email subjects both via a forum post and a email response, that would be HUGE


FIRST:
update the product-threadprefix_english.xml in two spots:


// product-threadprefix_english.xml
if (!verify_thread_prefix($this->info['forum'], $this->info['threadprefix']))
{
// added to get default prefix - cgmckeever
$this->thread['threadprefix'] = return_default_prefix($this->info['forum']);

// removed for email integration - cgmckeever
//$this->error('nothreadprefix');
//$return_value = false;
}


SECOND:
add a lookup function in functions_threadprefix.php:


// includes/functions_threadprefix.php
// returns the first prefix of a forum
function return_default_prefix($foruminfo){
$prefixes = explode("\r\n", trim($foruminfo['threadprefix']));
// print $prefixes[0];
return $prefixes[0];
}

Cyricx
08-28-2007, 06:47 PM
parse it from the subject line?

I can totally do that for replies, and can start off the prefix with the new threads that start from the forums. But concern is how do you assign prefixes to new threads started from email? :)

The only way I can think of would be requiring the person to put like

(this is the prefix) Email title

in the subject line, but that way they would have to know all the prefixes to know which one to choose :(


RE: subject prefixes

Well - I may have come up with a workaround for the email replies --
it pulls a default prefix for the forum and applies it accordingly -- works in my test cases.

If you could give me a hint how to change the out bound email subjects both via a forum post and a email response, that would be HUGE


I'll have to work this into the next beta. If you tack on the prefix to the subject line, it will continue to grow and grow and grow and eventually if the thread gets 20 replies, your subject line will become nothiing more then the prefix repeating itself :)

The default prefix is a great idea though!! For forums that require a threadprefix, I can have it use the default one. I'll work this into the next version provided the regex's don't make my brain explode :)

cgmckeever
08-28-2007, 06:53 PM
I'll have to work this into the next beta. If you tack on the prefix to the subject line, it will continue to grow and grow and grow and eventually if the thread gets 20 replies, your subject line will become nothiing more then the prefix repeating itself :)

The default prefix is a great idea though!! For forums that require a threadprefix, I can have it use the default one. I'll work this into the next version provided the regex's don't make my brain explode :)

Thats a good point on the repeating PREFIX
how does the code handle the current prefix when a user hits reply?

Cyricx
08-28-2007, 06:56 PM
Disregards it when it sends out the email right now. It doesn't prefix the title in the emails.

I did it that way til I could determine a good method to assign prefixes to newthreads from email.

I think I'll go with the default method.. maybe I'll work it into the forum manager so you can select which prefix to assign to new threads started from email. Hmmm much to think on :)

cgmckeever
08-28-2007, 07:25 PM
I must be doing something wrong then, because mine definitely prefixes the titles

[Development-t-9] Why is there no user prefix

Any ideas?

Cyricx
08-28-2007, 07:31 PM
Your forums do. But the emails do not, to keep them from repeating themselves indefinately.

As I mentioned, I did it this way til I could determine how I would assign prefixes for new threads from emails :)

Most likely the next version will support thread prefixes. It entirely depends on how severe rewriting the regexs will be.

If they take a long time then I'll release 2.3 without the thread prefix support and work on that for 2.4. As right now, the regexs take priority :)

But I will definately have support for thread prefixes soon! As I use those as well on my forums :)

cgmckeever
08-28-2007, 07:57 PM
Your forums do. But the emails do not, to keep them from repeating

That is the subject line that is sent via email ---
maybe we aren't on the same page here. But the title definately gets a prefix slapped onto it
when it is sent to the email recpts.


UPDATE: maybe the EI script is using the parent (top level) title -- ?
in that case, you never have to worry about the growing subject. The sendder can change the title and it always rverts back to the originating parent thread ??

Cyricx
08-28-2007, 08:10 PM
I'll have to check into the code. I'll check it out when I start on the vbmail handling for the cron job.

cgmckeever
08-28-2007, 08:18 PM
Thanks -- side note.....

in the cron script, you may want to change:
$fromaddress = $letter->sender[0]->mailbox ."@".$letter->sender[0]->host;
to:
$fromaddress = $letter->reply_to[0]->mailbox ."@".$letter->reply_to[0]->host;
if(strlen($fromaddress) == 0) $letter->sender[0]->mailbox ."@".$letter->sender[0]->host;

the script fails for gmail sent as another user ... such as when I send from my company profile in gmail, the script still sees me as host=gmail.com

Cyricx
08-28-2007, 08:20 PM
Thanks -- side note.....

in the cron script, you may want to change:
$fromaddress = $letter->sender[0]->mailbox ."@".$letter->sender[0]->host;
to:
$fromaddress = $letter->reply_to[0]->mailbox ."@".$letter->sender[0]->host;

the script fails for gmail sent as another user ... such as when I send from my company profile in gmail, the script still sees me as host=gmail.com

It's supposed to fail :)

That's what keeps people from pretending they are someone else :)

If I didn't have that check in there, you could set your reply to address in gmail or yahoo as the admins email address and you would show to the forums as posting as the admin :)

To avoid that security loop hole, it checks who the actual domain is that is sending the email :)

Just use your true gmail address for your account and you will be fine.

cgmckeever
08-28-2007, 08:30 PM
It's supposed to fail :)

That's what keeps people from pretending they are someone else :)

If I didn't have that check in there, you could set your reply to address in gmail or yahoo as the admins email address and you would show to the forums as posting as the admin :)

To avoid that security loop hole, it checks who the actual domain is that is sending the email :)

Just use your true gmail address for your account and you will be fine.


The only issue is, that if I really want to post as the ADMIN, I could just set up a whole profile in thunderbird or outlook and truly send as that person. Then the script will still pass the tests and post as a fake author.

So, putting that test in limits people who use services like gmail but have multiple profiles.

Cyricx
08-28-2007, 08:49 PM
The only issue is, that if I really want to post as the ADMIN, I could just set up a whole profile in thunderbird or outlook and truly send as that person. Then the script will still pass the tests and post as a fake author.

So, putting that test in limits people who use services like gmail but have multiple profiles.

You would have to have the password to login to the domain.

With yahoo I can go to the options, type whatever email name I want, and that would show up as me. I wouldn't need any passwords.

With outlook and thunderbird you have to have the password.

This is also why the error email that gets sent to you for the incorrect email address shows you the address that the modification sees you as having and has a link to update your email address :)

Your solution, doesn't require that people have a password or any access to the mailbox.

I'm not saying the method I'm using is perfect security... but it at least requires that you are on sending from the same domain as the email your trying to fabricate.

I'm sorry but I will not remove this feature for anything less then a more secure method.

Removing the prime security feature to me, is just not wise even if it's not the perfect method.

cgmckeever
08-28-2007, 09:11 PM
You would have to have the password to login to the domain.

With yahoo I can go to the options, type whatever email name I want, and that would show up as me. I wouldn't need any passwords.

With outlook and thunderbird you have to have the password.
.

I dont need a password to send an email from a yahoo (or other webmail account) that is not mine -- PM me your email address and I will demonstrate this. Thus, anyone can get around the simple 'from' check ..

That is why I am saying it is not a security feature, it is reducing the usability actually more so than any security feature.

cgmckeever
08-28-2007, 10:40 PM
If you add this code (in all spots cron and product xml) right after text_subject is defined, the EmailIntegration script will handle the custom prefixes _and_ use a default one if none is found - it seemed to already take into account the original prefixing anyhow [\$foruminfo[title_clean]-t-\$threadinfo[threadid]]:


// prefix code - cgmckeever

// use default
if (strlen($threadinfo[threadprefix]) == 0){
$prefixes = explode("\r\n", trim($foruminfo['threadprefix']));
$threadinfo[threadprefix] = $prefixes[0];
}

// wrap the prefix
if (strlen($threadinfo[threadprefix]) != 0){
$threadinfo[threadprefix] = str_replace('{1}',$threadinfo[threadprefix],$vbulletin->options['prefixmarkupalt']);
$threadinfo[threadprefix] = str_replace('&nbsp;',' ',$threadinfo[threadprefix]);
// get rid of built in prefix
$text_subject = trim(str_replace("[\$foruminfo[title_clean]-t-\$threadinfo[threadid]]",'',$text_subject));
$text_subject = trim("\$threadinfo[threadprefix] " . $text_subject);
}

// end prefix code - cgmckeever

Cyricx
08-29-2007, 10:17 AM
I dont need a password to send an email from a yahoo (or other webmail account) that is not mine -- PM me your email address and I will demonstrate this. Thus, anyone can get around the simple 'from' check ..

That is why I am saying it is not a security feature, it is reducing the usability actually more so than any security feature.

I emailed you an address for my test site and my admin address there to try to fake :)
Good luck! :)

If you add this code (in all spots cron and product xml) right after text_subject is defined, the EmailIntegration script will handle the custom prefixes _and_ use a default one if none is found - it seemed to already take into account the original prefixing anyhow [\$foruminfo[title_clean]-t-\$threadinfo[threadid]]:


// prefix code - cgmckeever

// use default
if (strlen($threadinfo[threadprefix]) == 0){
$prefixes = explode("\r\n", trim($foruminfo['threadprefix']));
$threadinfo[threadprefix] = $prefixes[0];
}

// wrap the prefix
if (strlen($threadinfo[threadprefix]) != 0){
$threadinfo[threadprefix] = str_replace('{1}',$threadinfo[threadprefix],$vbulletin->options['prefixmarkupalt']);
$threadinfo[threadprefix] = str_replace('&nbsp;',' ',$threadinfo[threadprefix]);
// get rid of built in prefix
$text_subject = trim(str_replace("[\$foruminfo[title_clean]-t-\$threadinfo[threadid]]",'',$text_subject));
$text_subject = trim("\$threadinfo[threadprefix] " . $text_subject);
}

// end prefix code - cgmckeever



I'll get this into the next live version! :)

Thank you!

Cyricx
08-29-2007, 11:25 AM
Remember all, I am looking for beta testers!! be sure to PM me if you would like to help test the next version because I'll be rewriting the regexs in the upcoming version!

cgmckeever
08-29-2007, 02:40 PM
OK - although the THREAD PREFIX script has its place, I didn't like the need for it to be installed to get the EI prefix to work.

You need to add a DB field ei_prefix:

ALTER TABLE forum ADD ei_prefix VARCHAR( 50 ) NULL;

This needs to be manually changed since I dont want to tinker with the EI admin script and keep this as simple to reimplement when changes to the EI codebase are made. (HINT HINT)

The below snippet needs to be added to the EI cron and product files right after:
$text_subject = replace_template_variables($text_subject);



// prefix code - cgmckeever
// check for ei_prefix defined
if (strlen($foruminfo[ei_prefix]) != 0){
// get rid of built in prefix
$text_subject = trim(str_replace("[\$foruminfo[title_clean]-t-\$threadinfo[threadid]]",'',$text_subject));
$text_subject = trim("\$foruminfo[ei_prefix] " . $text_subject);
}
// end prefix code - cgmckeever

Cyricx
08-29-2007, 07:01 PM
Thanks!! I'll be adding this into the next version :)

Also note that I added an option to disable strict email checking for those like yourself that want to just check the "reply to" address.

cgmckeever
08-30-2007, 01:45 AM
AWESOME
:up:

vrwired
08-30-2007, 03:59 AM
i a little haze on this but i've run cron before --> what i'm missing here is what command (which script to call - emailintegration.php?) to run...

Cyricx
08-30-2007, 11:44 AM
If you go to your admincp-> Scheduled Tasks -> Scheduled Task Manager ->

You should see Email Integration in that list of cron jobs. Click "Run Now" for the email integration and if there are any errors connecting to the mailbox, you will see them displayed there.

If there are not, your good to go and can setup the remaining forums with the same settings (but a different mailbox for each forum) and your good to go! :)

Piggo
09-01-2007, 12:44 PM
-----
With yahoo I can go to the options, type whatever email name I want, and that would show up as me. I wouldn't need any passwords.
------
I'm not saying the method I'm using is perfect security... but it at least requires that you are on sending from the same domain as the email your trying to fabricate.

I'm sorry but I will not remove this feature for anything less then a more secure method.

Removing the prime security feature to me, is just not wise even if it's not the perfect method.

In what version was this added?
Because I was (unfortunately) successfully able to spoof the from-email, and post a message as a different user in my currently installed version (I think 2.1).
This security issue is the main reason I have not gone full scale yet with this mod, as I feared anyone could post as anyone else, providing they knew the other person's email addy.

cgmckeever
09-01-2007, 08:10 PM
In what version was this added?
Because I was (unfortunately) successfully able to spoof the from-email, and post a message as a different user in my currently installed version (I think 2.1).
This security issue is the main reason I have not gone full scale yet with this mod, as I feared anyone could post as anyone else, providing they knew the other person's email addy.

Piggo, I'll let Cyricx answer this more authoritatively -

I'm using this mod to mimic a mailing list, but also have the ability for users to search and post via the forum interface. The spoofing of users is intrinsic of mailing lists, and is something that I am comfortable with, seeing that I moved away form a mailing list - and came from that security level.

With that being said, the same issue exists for Yahoo groups, as someone can post as another user if they know the other users email address.

All in all, I think this plugin adds a great feature set, is well maintained, and is progressing well. Its honestly the major reason we moved from a pure mailing list environment.

-

TRR
09-02-2007, 12:08 AM
This must be something specifically with godaddy. One of the sites I used to help build was hosted on a VPS (Virtual Private Server) with westhost and it allowed IMAP to be enabled.



I really want this feature but I am on godaddy as well; any suggestions for a host that can support this mod (imap already enabled)?

gonecountry
09-02-2007, 12:47 PM
OK I have installed and reinstalled followed all directions completely, I have also tried pop3 imap localhost etc all variations. The hack is just not working right if I create a thread in an email and send it, it posts to the forum but I'm not getting a email when a thread is replied to. Please advise, thanks.

cgmckeever
09-02-2007, 05:17 PM
@gonecountry - just making sure that you have subscribed to instant notification for the forum (not the thread)

Cyricx
09-04-2007, 11:59 AM
Piggo, I'll let Cyricx answer this more authoritatively -

I'm using this mod to mimic a mailing list, but also have the ability for users to search and post via the forum interface. The spoofing of users is intrinsic of mailing lists, and is something that I am comfortable with, seeing that I moved away form a mailing list - and came from that security level.

With that being said, the same issue exists for Yahoo groups, as someone can post as another user if they know the other users email address.

All in all, I think this plugin adds a great feature set, is well maintained, and is progressing well. Its honestly the major reason we moved from a pure mailing list environment.

-

Thanks CGMC! :)

Also another note to the code, is your email address is COMPLETELY hidden with this modification. The email that people get has the address for the forum's email box. When you reply back, any instances of your email in the message or anything that is sent to the forum to add the thread is removed! Or the next build will also actually replace any appearances of your email address with a link to the form to email a user :)

One of my biggest complaints about yahoo is that my personal email address is seen by EVERYONE on the list. Which makes the security hole that also exists in yahoo insane in how easily someone could exploit it if they really really wanted to. At least with the vb code, they would have to have you email them directly first!


I really want this feature but I am on godaddy as well; any suggestions for a host that can support this mod (imap already enabled)?
Be sure to ask if they are not wanting to install IMAP (not needed), or just not wanting to enable the imap functions (needed).

Alot of hosts will not want to install IMAP, which is fine. We just need php compiled with the imap functions enabled.

popmyzit
09-05-2007, 07:59 AM
Hello,
getting Error Number: 1064 on new registrations

Invalid SQL:

REPLACE INTO vb_subscribeforum (userid, emailupdate, forumid)
VALUES (0, 1, );

database error.

Can someone help?
cheers

Cyricx
09-05-2007, 11:36 AM
Hello,
getting Error Number: 1064 on new registrations

Invalid SQL:

REPLACE INTO vb_subscribeforum (userid, emailupdate, forumid)
VALUES (0, 1, );


database error.

Can someone help?
cheers

It would appear that in the usergroup manager you have autosubscribed turned on, but did not specify the forumids that the user should automatically be subscribed to.

popmyzit
09-05-2007, 12:28 PM
Hello,
thanks for responding
I have actually put YES for subscribe and added a forumid in the field. I will double check this

however this may be happening despite that data in the fields... can anyone else check this?

thanks :)

popmyzit
09-05-2007, 12:55 PM
Ok, i think it was trailing , comma in forum ids.

but now i am getting:

Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3/notls}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213

Done

any ideas? I think its the username what do you put there?

j14nsx
09-05-2007, 05:36 PM
Apologies if my problem has already been answered. I have looked.

I have installed this mod, and it is working fine. However the emails I am receiving are not displaying as html. Other emails from other sender I can read as html, so it's not my Outlook 2007 setup.

I get text that looks like raw html.

Aside from this, works great!

USI_Garrett
09-11-2007, 01:47 PM
Sorry if this is a basic question, but I can't quite figure it out. In the latest set of instructions, it says that I should import the product file "product-emailreplyint.xml". Where do I import it to? Is there there anything special I should use to import it (i.e. Impex)? Once again, sorry if this has already been addressed in the thread.

Thanks in advance.

USI_Garrett
09-11-2007, 01:51 PM
Wow, nevermind. Figured it out. Looking forward to getting this mod up and running.

linnov
09-16-2007, 10:33 PM
I have an automatted post in a forum I have this set on using the following code


<?

// chdir('./forums');
require_once('./global.php');
require_once('./includes/class_dm.php');
require_once('./includes/class_dm_threadpost.php');
require_once('./includes/functions_databuild.php');

$threaddm = new vB_DataManager_Thread_FirstPost($vbulletin, ERRTYPE_STANDARD);

$forumid = 209;
$postuserid = 3;
$userid = 3;
$username = 'linnov';
$pagetext = 'Testing 123 ';
$title = 'Test Post ';
$allowsmilie = '1';
$visible = '1';

$threadinfo = fetch_threadinfo($postthreadid);
$foruminfo = fetch_foruminfo($threadinfo['forumid']);

$threaddm->do_set('forumid', $forumid);
$threaddm->do_set('postuserid', $postuserid);
$threaddm->do_set('userid', $userid);
$threaddm->do_set('username', $username);
$threaddm->do_set('pagetext', $pagetext);
$threaddm->do_set('title', $title);
$threaddm->set('allowsmilie', $allowsmilie);
$threaddm->set('visible', $visible);
$threaddm->save();

build_forum_counters($forumid);

?>



The problem is the email is not generated so I'm thinking I need to call some other function within the script in order for the email to occurr

It does email if I create a new thread from within the forum.

Anyone have any ideas?

FleXy
09-17-2007, 02:29 PM
great mod, but I can not find information how user can define himself by mail...
This plugin use email address to know "user login"? I mean "to know who wrote by mail" ?

If yes, it's not secure, because anybody can send letters from any email address. I mean i can send email from support @ microsoft [dot] com etc.
email is WRONG choose to define user. So it's loophole for spammers....

p.s. sorry for my english.

silurius
09-20-2007, 04:54 PM
I think FleXy is referring to email spoofing?

At some point it would be great to see information about how best to bridge this with a Mailman listserv (perhaps adopting some of the development from the NNTP Gateway (https://vborg.vbsupport.ru/showthread.php?t=92588) add-on) as well as with the vBulletin calendar and any event management add-ons related to that area.

But these are all bonuses, really. This is a great add-on, Chris. I expect this will greatly ease some of the phobias members of the particular community I'm working with, many of whom are technically and cognitively challenged, have about using internet applications. Even though my own work in this case is not-for-profit I still intend to paypal you when my site launches.

Cyricx
09-20-2007, 05:54 PM
great mod, but I can not find information how user can define himself by mail...
This plugin use email address to know "user login"? I mean "to know who wrote by mail" ?

If yes, it's not secure, because anybody can send letters from any email address. I mean i can send email from support @ microsoft [dot] com etc.
email is WRONG choose to define user. So it's loophole for spammers....

p.s. sorry for my english.

The security offered in the modification I have written is just as secure as yahoo email groups. :)

It does offer some difficulty in that the code I'm using also checks the domain name that sent the email.

I am looking into ways to possibly embed security words into the header, but that will be a bit down the line.

Right now I'm happy with it being just as secure as the yahoo email groups that have such a high popularity :)



Linnov - You can try calling the exec_send_notification function. Here is the code to call that function as cut from the functions_newpost.php file


exec_send_notification($threadinfo['threadid'], $vbulletin->userinfo['userid'], $post['postid']);


You will need to fiddle with your code to get the threadid and postid determined.

Unfortunatley I don't have alot of time to dig into the code you posted to say how to set those variables :(



Currently... I'm getting my ass kicked by functions called from cron jobs... I've almost got vbmail working to process emails, just getting hammered by trying to rebuild the email headers through the cron job. Bear with me all.

linnov
09-20-2007, 07:16 PM
okies thanks I'll give it a whirl

FleXy
09-20-2007, 10:29 PM
Cyricx, thanks for the answer, what do you think about add addition password for every user who use "Email integration tools"... I mean that user must provide "mail password" in every email body if he would like to add comments. its more secureв way...

Other question: can I block comments by mail for use by members? and use only new threads notification for users.

Cyricx
09-21-2007, 11:43 AM
Cyricx, thanks for the answer, what do you think about add addition password for every user who use "Email integration tools"... I mean that user must provide "mail password" in every email body if he would like to add comments. its more secureв way...

Other question: can I block comments by mail for use by members? and use only new threads notification for users.

I am strongly working to avoid the password required. Due to it having the same, and actually a touch better security then the yahoo groups that are so wildly popular I'm pretty comfortable with it. I believe that requiring a password will remove the usefulness and the general acceptance from the users for this mod. Most of them can't remember their passwords as it is :)

To the other question, you can restrict it by usergroup. New thread notifications do not work hand in hand with forum notifications... yet... that's a plan for the future.

Right now my focus is being dumped into getting this to work with vbmail. Right now I'm having serious issues getting the email headers to rebuild via the cron job so... everything is hinged on getting that working.

FleXy
09-22-2007, 08:35 PM
thanks for the answer

about the passwords you can add checkbox for the administrators and give them opportunity to choose use passwords feature or not.

I will go to look at vbmail, I does not use this system.

wassonline
09-24-2007, 02:44 PM
Hi

I downloaded and installed this mod today, but am having no joy what-so-ever with it.

I am not getting any errors appear when I run the Cron job, but then the system isn't working either.

I have set up the new mailbox, set up the user permissions as well as the forum things as per the instructions, but nothing seems to happen. I continue to receive notification e-mails from the normal e-mail account, and even when I send a new e-mail as a test to the new mailbox, and run a cron job, it doesn't post it (although it does appear to pick up the e-mail which is odd)

Please let me know if anyone has any possible suggestions! I can provide more info if needed

Thanks
David

dot2slash
09-25-2007, 11:01 AM
is therea option to automate thumbnails for picture attachments ??

somehow this is not working ...

also if i send a png file (lowecase filename with numbers)
i get the log:

Newthread added from AltF4
to forum Warteschleife
Attachment invalid extension JPG: AltF4



mail answer:
We're sorry, but we could not process
your emailed reply / new thread.

You tried to upload a file with the extension type of JPG.
That extension type is not permitted.

any idea ?

MikeH2911
09-26-2007, 06:12 PM
Has the gmail issue been solved yet? Last time I checked emails in my gmail account appear as raw html still. Gmail is the only problem I'm having with this mod but seeing as so many people using the small forums I've setup to use this feature use gmail it's a major impediment.

Thanks

Mike

doubleclick
09-26-2007, 06:14 PM
now i am getting:

Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3/notls}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213



I'm getting the same thing. I'm sure I have plain POP, but tried the other 5 options as well and it made no difference.

Help?

dc3dreamer
09-26-2007, 08:32 PM
I am strongly working to avoid the password required. Due to it having the same, and actually a touch better security then the yahoo groups that are so wildly popular I'm pretty comfortable with it.I made a post to this effect a couple of months ago, but it bears repeating: Please don't cobble up Email Integration with password security or other stuff. Spam protection does not belong in this system! It is rightly the responsibility of AV/AS software that manages that stuff system-wide.

-- Bob

doubleclick
09-27-2007, 10:55 AM
Hi Bob-

Sorry for the misunderstanding.

The FORUM is password protected, and has been long before I knew this mod existed. It has nothing to do with spam: it is a private forum for a group that doesn't want the world to view it.

Anyway, I temporarily removed the password temporarily to reduce the list of suspects. Even without a password I still get the error I reported.

How can I correct this error?

doubleclick
09-27-2007, 11:34 PM
ok. got past the imap error. Turns out this error message isn't just about which of the 6 connection type settings to use.

Now, the emails are posting, but there is a bunch of code preceeding and following the text.

for example, I just replied to a post via email with "did this work?"

The post in the forum reads:

Message BODY { FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TABLE { MARGIN-TOP: 1em; BACKGROUND-COLOR: #ffff66 } TD { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TH { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } did this work?

I tried html on and html off for that forum and for the usergroup that uses it, but the results were the same in both cases.

Also, two quote boxes show up in each email post. one is who it is from (which we already know from the postbit) and the second quote box copies the original post, (which we already know from the thread)

How do I strip out the code and just get the text of the reply?

.

Thanks

doubleclick
09-28-2007, 04:52 PM
I see this same question was asked at the beginning of the month as well, and no answer was posted.

https://vborg.vbsupport.ru/showpost.php?p=1333031&postcount=395

Did somebody answer him in a PM or does nobody here know the answer?

Cyricx
10-01-2007, 02:12 PM
That's an issue witht he preg_replace code and my attempts to quote the previous posters message.

The new version has a completely new set of preg_replace code written for it that I'll need to test out heavily, but right now that version is still hanging on some issues I'm working on with using the vbmail function from a cron job and rebuilding the message headers.

As soon as I solve that problem, things will progress quickly to releasing the new version.

Unfortunately my job and family come first so time has become a little constrained as of late, so I'm unable to define an eta for the next version. :(

Cyricx
10-01-2007, 02:13 PM
is therea option to automate thumbnails for picture attachments ??

somehow this is not working ...

also if i send a png file (lowecase filename with numbers)
i get the log:

Newthread added from AltF4
to forum Warteschleife
Attachment invalid extension JPG: AltF4



mail answer:
We're sorry, but we could not process
your emailed reply / new thread.

You tried to upload a file with the extension type of JPG.
That extension type is not permitted.

any idea ?

Hmmm. Do you have PNGs as an available attachment type in your admincp -> attachment manager?

Cyricx
10-01-2007, 02:15 PM
ok. got past the imap error. Turns out this error message isn't just about which of the 6 connection type settings to use.


Your correct, it has to do with connecting to the box period. This can be the username, password, the host and the connection type. Unfortunately there is no way to discern which of those is causing the issue.

It's usually pretty easy to double check the username and password, that leaves you with trying "localhost" the IP Address or mail.yourdomain.com as the host and then trying the connection types.

Typically at least that's the most common issues.

doubleclick
10-01-2007, 05:56 PM
The new version has a completely new set of preg_replace code written for it that I'll need to test out heavily, but right now that version is still hanging on some issues I'm working on with using the vbmail function from a cron job and rebuilding the message headers.

Is there some way for me to hack at the old code and make it stop with the html and quote dump in the meantime? Just put in plain ol' text?

I didn't realize this mod wasn't finished, and promised a group of users I'd implement it. can you at least tell me where to comment out the invitation to post new threads and reply via email in the outgoing email to users so they don't? That would be a good bandaid until you get time to finish this.

Cyricx
10-01-2007, 07:19 PM
Unfortunately there is no easy quick fix. Even if you forced it to use plain text, many email browsers only send an html formatted email, which would gain you blank messages from those users.

cgmckeever
10-01-2007, 08:43 PM
Doubleclick - contact me off list..I actually hacked the code and made it exactly what you are looking for....if there is a plaintext message, it uses that over the HTML, and only falls to the HTML if there is nothing else.

It also does some smart quoting of the original ...
I do think it ignores most BB markup except URL

Its just a replacement of one file .. but it does fork the code ...

user: cgmckeever
provider: gmail

Cyricx
10-01-2007, 08:51 PM
Cgmckeever -

I'd love to compare the code for the rewrite I've got coming down the line. Would you mind sending me a copy?

cgmckeever
10-02-2007, 12:31 PM
C - just sent it out to you -- it pretty much ripped all the regex and HTML out and pushed everything as plaintext and tried to figure out where URLS should be placed.

Cyricx
10-02-2007, 12:32 PM
Rock on, I still had that email saved.

Thanks!

I'm hoping to have some time to dive back into the vbmail thing today.

doubleclick
10-02-2007, 10:28 PM
cyricx:
What about the second half of the question? can you at least tell me where to comment out the invitation to post new threads and reply via email in the outgoing email to users so they don't? That would be a good bandaid until you get time to finish this.

cgmckeever:
Thanks for the assistance. I've sent you email.

cgmckeever
10-03-2007, 12:21 AM
Doubleclick - just PM'd you - didnt get an email

whoops --- posted a comment about how to nuke the footer, but it wouldnt work

;)

cgmckeever
10-03-2007, 12:25 AM
Doubleclick -

the footer comes out of a template phrase from the database...

I think if you added something like:


$pattern[3] = "/-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-(.*)-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/is";
$replace[3] = "";
$pattern[4] = "/-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-(.*)-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-/s";
$replace[4] = "";
$mailmessage = preg_replace($pattern, $replace, $mailmessage);


right after:


$text_message = str_replace("\\'", "'", addslashes(iif(empty($email_text['emailbody']), $emails['-1']['emailbody'], $email_text['emailbody'])));


It _should_ wipe out the footer from the message. You would have to do this for the CRON and PRODUCT xml in I think 4 places (2 per file)

This is untested, but the replace is the same replace that wipes out the footer in replies to posts via email.


C -- maybe an option in EI to disable the footer?

doubleclick
10-03-2007, 01:57 PM
Thanks again, cmg. I resent the email to you.

As far as disabling the footer via EI in the future, maybe the option to disable each option individually through the admin panel, rather than a big either/or decision. As it stands, it's nice to have the view thread in forum, homepage, and especially the unsubscibe options remaining and just being able to remove the reply/post from email options.

I'm off to try your new code, cmg. I'll let you know how it goes.

DC

Cyricx
10-03-2007, 02:09 PM
Thanks again, cmg. I resent the email to you.

As far as disabling the footer via EI in the future, maybe the option to disable each option individually through the admin panel, rather than a big either/or decision. As it stands, it's nice to have the view thread in forum, homepage, and especially the unsubscibe options remaining and just being able to remove the reply/post from email options.

I'm off to try your new code, cmg. I'll let you know how it goes.

DC

The option to disable the links like calendar and such is worked into the next version. I'll check into adding the others in a future version.

Right now the vbmail problem is gonna make my brain explode. :)

doubleclick
10-04-2007, 07:17 PM
ok. I figured out a simple fix, that even I can deal with.

I went to phrases via the vBulletin Admin Panel, did a search for "you may reply to this email",

I then edited the following English (US) Translation versions

ei_notify_post
ei_notify_post_forum
ei_notify_thread
ei_notify_thread_forum


and then commented out this part of the code following $emaillinks :

<tr> <td align="center">You may reply to this email to post a reply to the forum.<br>You can also begin a new thread by sending an email to <a href="mailto:$foruminfo[ei_replyaddress]">$foruminfo[ei_replyaddress]</a>!</td> </tr>

That removes the part of the footer dealing with reply and starting threads via email. I like this as it retains the rest of the useful features, and when your new fixes eliminate the html code dump and quote boxes, I can just uncomment this out again.


This fix still created quote boxes when clicking the link from the email to reply via the forum, but I can live with it. At least the HTML dump is not there.

I really don't like the redundancy of quote boxes, but realize this is a personal preference and not a global one. I hope you'll consider making quote box creation an option as well, assuming your head doesn't explode in the meantime. :)

Hope this helps somebody...

DC

doubleclick
10-05-2007, 11:07 PM
Well, so far so good. The mod is working for the forum and it seems to be increasing responses.

I just tried to enable it with another usergroup/forum combination, but for some reason, it isn't sending out notifications of posts or replies made in the forum. It does, however, post in the forum if an email is sent to that forum's designated email address.

I set myself as a member of the usergroup that has access to the forum, and selected "instant email notification" for that forums forum options.

I've compared the settings many times for the one that works with the one that doesn't, and can't see what the problem is. Any ideas? I'm sure it's something staring me in the face, but I sure as heck can't see it.

doubleclick
10-09-2007, 12:49 AM
One forum is still working, the other one isn't. As far as I can tell, the settings are all correct. Checked the settings for the one that isn't working for about the 10th time, and still can't find what I've missed.

From forum manager, it has the correct usergroup enabled in email integration. Other settings identical to the one that works.

from usergroup manager, it has the correct forum enabled for email reply, both are set to yes
Users are assigned to correct user group. Other settings identical to the one that works.

Users are assigned to the correct usergroup.

Forum permissions are identical for both forums and their respective usergroup.

Finally, if I send email to the forum that doesn't work, it posts the email. However, when a post is made, it doesn't send notification.

More than one forum can do this, right?

mrahul
10-09-2007, 06:20 AM
does this work on 3.6.4 ?

Cyricx
10-09-2007, 11:57 AM
Doubleclick - Do you have a separate email address for each? Each forum has to have it's OWN email address.

Mrahul - Yes


All - I'm going to move on with the code, I don't have vbmail working yet from the cron job, but I'm going to move forward with my next release and see if I can get the vbmail in crons working for a future release. Global variables do not work well in a function when ran from an automated cron job.

kube
10-10-2007, 01:59 PM
Man, you ROCK!! This is up and running on my board and almost everything is working perfectly. The only bug I've seen is that is this:

>> Create a new thread by email
>> Put a smilie in it :)
>> The smilie shows up fine in the forum
>> When you get the email back the smilie is a broken link
<img src="images/smilies/smile.gif" border="0" alt="" title="Smilie" class="inlineimg" />

The http://www.yoursite.com/forums/ is missing. This seems to only be on new threads. Replies are fine.



I`ve the same problem - anyone who knows how to fix it ?


Just testing at the moment - but seems to be the best hack i`ve installed....

thanks for that !

doubleclick
10-11-2007, 11:19 AM
Doubleclick - Do you have a separate email address for each? Each forum has to have it's OWN email address.

yes.

====


Also a suggestion while you're working on the code:

The emails that go out have an "unsubscribe" option, as it should. I'd like to see a link that allows them to change their notification options: 1x day, 1x week, as it is already setup in vbulletin. That gives more options than the yes/no one now available.

Dale

Crys
10-13-2007, 01:45 PM
Hi there,

I managed to get new threads to open using e-mail but how does the reply part work? I've been testing with multiple test users and I still haven't received any e-mails from the forum e-mail I set up. Can you help me on this please?

Many thanks!

~ Crys ^^

kube
10-13-2007, 09:04 PM
Hi there,

I managed to get new threads to open using e-mail but how does the reply part work? I've been testing with multiple test users and I still haven't received any e-mails from the forum e-mail I set up. Can you help me on this please?

Many thanks!

~ Crys ^^

Did you subcribe to that forum ?

Crys
10-13-2007, 10:57 PM
Yes, I tried to subscribe to the forum but the reply e-mail that it provides shows the main forum e-mail and not the forum specific e-mail. I also tried replying to that e-mail, just in case, but it never showed up, as a reply, in that specific thread.

~ Crys ^^

MikeH2911
10-14-2007, 07:24 PM
All - I'm going to move on with the code, I don't have vbmail working yet from the cron job, but I'm going to move forward with my next release and see if I can get the vbmail in crons working for a future release. Global variables do not work well in a function when ran from an automated cron job.


Is the vbmail the thing thats making gmail dump html in posts received from the forum?

Mike

Reeve of shinra
10-15-2007, 04:09 AM
I'm amazed the mod was so easy to install -- in the past, whenever I saw a email to forum type mod it required a bazillion file edits to get working so major kudos there!

I am running into the follow error however when i try to run the cron job and test this out. I assume this is an error with my imap config, yes?

Fatal error: Call to undefined function: imap_open() in /home/social/domains/socialartist.com/public_html/forum/includes/cron/emailintegration.php on line 111

Thanks!

edit: Nevermind, found the answer here:
https://vborg.vbsupport.ru/showpost.php?p=1326675&postcount=356

MikeH2911
10-15-2007, 01:50 PM
A little help, the hack is installed and working just fine, but only in one forum. The test forum I created to see if this hack works (a hidden section of the forums), in the actual forum I want it to work in nothing happens despite all the settings and permissions being identical.

Any idea why?

Mike

Crys
10-15-2007, 08:59 PM
You need a separate e-mail address for each sub-forum.

Btw, any updates on my previous post?

Thanks!

~ Crys ^^

MikeH2911
10-15-2007, 09:14 PM
You need a separate e-mail address for each sub-forum.

Btw, any updates on my previous post?

Thanks!

~ Crys ^^

I have a separate email address for each sub forum, it's not working :(

Mike

matthew1
10-16-2007, 02:24 AM
Hi I was wondering if anyone had a problem with html and this mod. Most of the emails I receive are in html and they post to my forum in plain text....anyone else have this problem and better yet has anyone found a solution.

Thanks

MikeH2911
10-16-2007, 07:33 AM
I have a separate email address for each sub forum, it's not working :(

Mike

Ok, so it worked, it just took a day for the email to arrive for some reason, weird.

Mike

Crys
10-17-2007, 10:24 AM
Yes, I tried to subscribe to the forum but the reply e-mail that it provides shows the main forum e-mail and not the forum specific e-mail. I also tried replying to that e-mail, just in case, but it never showed up, as a reply, in that specific thread.

~ Crys ^^

Is Cyricx around??

doubleclick
10-18-2007, 11:33 AM
A little help, the hack is installed and working just fine, but only in one forum. The test forum I created to see if this hack works (a hidden section of the forums), in the actual forum I want it to work in nothing happens despite all the settings and permissions being identical.

Any idea why?

Mike

I'm having the same issue.

https://vborg.vbsupport.ru/showpost.php?p=1355900&postcount=430

Hope cyricx checks in soon.

DC

MikeH2911
10-18-2007, 11:47 AM
I'm having the same issue.

https://vborg.vbsupport.ru/showpost.php?p=1355900&postcount=430

Hope cyricx checks in soon.

DC

I recently had false hope that it was fixed as I received an email from the broken forum. Only none of the other three subscribed users received anything.

Mike

kube
10-22-2007, 05:36 PM
https://vborg.vbsupport.ru/showpost.php?p=1356893&postcount=433

is still the problem, and if I sent an html email I always get the head of the mail posted:


BODY { FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TABLE { MARGIN-TOP: 1em; BACKGROUND-COLOR: #ffff66 } TD { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TH { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif }

techman41973
10-25-2007, 05:21 AM
Not sure if the Instant E-mail Integration supports this.
I want Vbulletin to send out an instant e-mail or daily digest for ANY new post or reply to a post. I don't want to rely on users going in and manually suscribing to each forum or thread. I need something that automatically subscribes them or allows the administrator to automatically subscribe all users. Why do I need this? Most users will not check the website regularly. An e-mail notification that there is new activity is essential for maintaining contact between with my users. Even if the mod just sent out an e-mail that says, there is a new post or reply on the forum. Is this possible with any of the mods?

ChurchMedia
10-25-2007, 01:06 PM
Not sure if the Instant E-mail Integration supports this.
I want Vbulletin to send out an instant e-mail or daily digest for ANY new post or reply to a post. I don't want to rely on users going in and manually suscribing to each forum or thread. I need something that automatically subscribes them or allows the administrator to automatically subscribe all users. Why do I need this? Most users will not check the website regularly. An e-mail notification that there is new activity is essential for maintaining contact between with my users. Even if the mod just sent out an e-mail that says, there is a new post or reply on the forum. Is this possible with any of the mods?

This mod will do what you want. It sends out emails with the actual content of the posts. Your members can reply to that email and it will automatically post to your forum. In the usergroups settings, you can automatically subscribe new users to certain forums. Members subscribe to forums, not threads. Once subscribed to a forum they will get all posts in that forum by email.

I put together a tutorial for my members so they know how to use this system:
http://www.churchmedia.net/CMN/vbarticles.php?do=article&articleid=6

I've been using it for at least a month with little to no problems. It's ready for use on a live forum -- no problem.

techman41973
10-25-2007, 07:10 PM
Churchmedia, thanks for this tutorial website and your reply to my question.
It still seems from reading your tutorial that users must manually subscribe to each forum.
My users are too lazy to subscribe to each forum. I just want to be sure that I can manually subscribe both existing and new users either to all forums or even better selected forums.
Also is there an option for a daily digest? I am slightly concerned of floods of messages getting sent out. This still looks like a great feature and my appreciate to the people who developed this mod
Techman

ChurchMedia
10-25-2007, 08:36 PM
There isn't a daily digest.

I've attached a screenshot from the usergroup settings. You can automatically assign forum subscriptions to groups when a member is assigned to a group. So if you want to subscribe your current members you will need to run an sql query. As far as a flood of emails, it really depends on if your server can handle it or not. I know if I subscribed all of my members there would be a revolt ;), but I think my server could handle it.

techman41973
10-26-2007, 04:39 AM
yep, looks like it could work me.
thank you for your time

rcwild
10-27-2007, 06:09 PM
Installation process seemed to go well, but I have two problems:

(1) When I select "Subscribe to this Forum" from the Forum Tools pull-down, I don't have the new instant notification option.

(2) Clicking on a post title now produces this error message:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/canyon/public_html/forums/showthread.php on line 943

doubleclick
10-28-2007, 08:12 AM
Hey Churchmedia -

Great tutorial for your users. I like the way you got the users to clean up their own excess code/content/gibberish until cyricx codes this into the mod.

I was wondering if you are able to get more than one forum to work. A few of us are having difficulty with this, and it seems from your forum that you have more than one working. If so, did you do something special?

Thanks,
dc

ChurchMedia
10-29-2007, 03:14 PM
I was wondering if you are able to get more than one forum to work. A few of us are having difficulty with this, and it seems from your forum that you have more than one working. If so, did you do something special?

Thanks,
dc

I haven't had any problems getting more than one forum to work. I just set up each forum one at a time. It took quite a while, but once you get a "system" down it goes faster. First I created an email address for the forum (using c-panel on my server), then filled in all of the info required on the forum edit page for the email integration. I had to remind myself to click yes to "Enable Email Integration for this forum?"

I didn't do anything special. My best guess is that there may be some server problems with some users. I have a dedicated server and can do whatever I want to with it. I know some shared servers have limitations.

Best of luck!

kube
10-29-2007, 09:59 PM
Man, you ROCK!! This is up and running on my board and almost everything is working perfectly. The only bug I've seen is that is this:

>> Create a new thread by email
>> Put a smilie in it :)
>> The smilie shows up fine in the forum
>> When you get the email back the smilie is a broken link
<img src="images/smilies/smile.gif" border="0" alt="" title="Smilie" class="inlineimg" />

The http://www.yoursite.com/forums/ is missing. This seems to only be on new threads. Replies are fine.

Thanks again. This was money well spent for me. :)

Did you fixed it ?

lionelng
10-31-2007, 03:12 PM
I've installed this lovely mod but i can't seem to be able to create thread or reply to a thread via email. I'm tried all the 6 different settings but doing without much luck. I'm sure i've got the settings right after having gone through all the posts for this mod. Any help offered will be deeply appreciated.

lionelng
11-02-2007, 07:43 PM
Wondering how long more do i have to wait to get an answer? :rolleyes:

unitedpunjab
11-04-2007, 12:14 PM
I installed this MOD but m not able to under stand how to create mail box and which email address to use.

Can you explain it bit more in practical way. :)

ChurchMedia
11-05-2007, 02:07 AM
I installed this MOD but m not able to under stand how to create mail box and which email address to use.

Can you explain it bit more in practical way. :)

You don't create the mailboxes through vBulletin or this mod. You use your site/server control panel (cPanel, Plesk, Ensim, etc.) to create email accounts. For instance, if you had a forum called "Member's Lounge" you could create an email account called lounge@yoursite.com. Then you would enter all the email account info when you edit your lounge forum.

So, you basically end up with a bunch of email addresses for your site/forums.

I hope that helps!

unitedpunjab
11-05-2007, 06:38 AM
You don't create the mailboxes through vBulletin or this mod. You use your site/server control panel (cPanel, Plesk, Ensim, etc.) to create email accounts. For instance, if you had a forum called "Member's Lounge" you could create an email account called lounge@yoursite.com. Then you would enter all the email account info when you edit your lounge forum.

So, you basically end up with a bunch of email addresses for your site/forums.

I hope that helps!

I have bought my email domain from Gmail. it's like admin@unitedpunjab.co.uk so can i create email address from my gmail (unitedpunjab.co.uk) account and then can add info about that in this hack.

And can you also tell me the proper settings What information i am going to need from a email account to fill out in ACP on vB.

unitedpunjab
11-05-2007, 06:58 AM
Now these are the settings provided by google.


For POP access, the incoming server is pop.gmail.com or pop.googlemail.com, and the outgoing server is smtp.gmail.com or smtp.googlemail.com.
For IMAP access, the incoming server is imap.gmail.com or imap.googlemail.com, and the outgoing server is smtp.gmail.com or smtp.googlemail.com.I have created a account for my domain.

but google is giving me different host names for sending and receiving mails on my domain.

lionelng
11-05-2007, 08:17 AM
I've installed this lovely mod but i can't seem to be able to create thread or reply to a thread via email. I'm tried all the 6 different settings but doing without much luck. I'm sure i've got the settings right after having gone through all the posts for this mod. Any help offered will be deeply appreciated.

Anybody can help me with this, please?

lionelng
11-07-2007, 12:50 PM
Anybody can help me with this, please?

I really cannot believe this is the type of support i'm getting for this mod. I guess the best way now to resolve my problem is to uninstall this mod. So much so for this mod :mad:

Cyricx
11-07-2007, 01:21 PM
I really cannot believe this is the type of support i'm getting for this mod. I guess the best way now to resolve my problem is to uninstall this mod. So much so for this mod :mad:

It's not like this is my paying job ;)

I have an actual real paying day job, plus family, plus a not-for-profit organization that I do ALOT of volunteer time for :)

I've hit some major setbacks in the next version as well as we just went through the Samhain (halloween) holiday. For most people it may not be a big deal.. but for my personal religion it's our new years holiday :)

In anycase, I'm sorry if my time is limited and if the value of what your getting here for free is not up to your standards ;)



To address your specific problem..

Have you tried adjusting the "hostname of the above email" as detailed in the instructions? Most common settings for that field are:

localhost
ip address of your server
mail.yourdomain.com
yourdomain.com

If all else fails, you may always send me a PM with admin access to your sites forum manager and scheduled task and I will trouble shoot your settings.

In the long run I'd love to write a script that scrolls through and tests all those settings to try to determine your settings for you, but that's dreaming big right now when I've got some huge projects in my lap for the not-for-profit that I need to hande first.

Cyricx
11-07-2007, 01:23 PM
O and in regards to the gmail thing. There is some additional verification crap that google seems to require you to do. I haven't had a chance to dig into the code to address that issue yet :(

I'm still tryiing to beat the vbmail problem, so it's one monster at a time right now heh. :)

This is the reason why I hate to give people dates of planned releases.. cuz things always come up :o

Cyricx
11-07-2007, 01:26 PM
Did you fixed it ?

Kube, do you use vbadvanced? The issue is in the url of your smilie. I'd suggest in the smilie manager correcting the url for the smilie to the true full url.

Other then that, I'd have to write a plugin for the bbcode manager to amend those urls. Hmm, that could be difficult...

I'll add this to my ponder list. In the meantime, correcting the smilies in your smilie manager to the full url would resolve this issue.

Cyricx
11-07-2007, 01:29 PM
Hey Churchmedia -

Great tutorial for your users. I like the way you got the users to clean up their own excess code/content/gibberish until cyricx codes this into the mod.

I was wondering if you are able to get more than one forum to work. A few of us are having difficulty with this, and it seems from your forum that you have more than one working. If so, did you do something special?

Thanks,
dc

You must have a separate mailbox for EACH forum.

For example if you have the following forums running this mod

Political Talk Forum
General Discussion Forum
Jokes Forum

You'd have to have an email box setup and assigned for each such as:

politicaltalk@yourdomain.com
generaldiscussion@yourdomain.com
jokes@yourdomain.com

This is so that the code can process and assign new threads correctly.

lionelng
11-07-2007, 04:53 PM
Thanks for taking your precious time to reply, finally. I've already uninstalled the mod that i've installed with much excitement at first. I like your reasons and i understand your predicaments.

Just like many other mods i've installed, the coder don't get paid for what they've done and as a free user, i definitely appreciate their efforts and time, and i'm not asking or begging for extremely prompt reply. All I can say is others are just doing a much better job.

I rest my case here. I can live without this mod anyway. Good luck.

Cyricx
11-07-2007, 05:05 PM
*shrug*

Personally, I think replying within 1 week is doing pretty damn good :)

GlitterKill
11-10-2007, 01:06 AM
Does anyone know if this plays nice with VBSEO?

ChurchMedia
11-10-2007, 01:36 AM
*shrug*

Personally, I think replying within 1 week is doing pretty damn good :)

Hey, I'm glad to field a few questions. That's what "community" is all about!

Does anyone know if this plays nice with VBSEO?

I'm running VBSEO. No problems.

bchertov
11-12-2007, 04:08 PM
I we just went through the Samhain (halloween) holiday. For most people it may not be a big deal.. but for my personal religion it's our new years holiday :)
Blessed Be! ;)

My forum has evolved out of a Yahoogroups and this sounds like it will let people post via email which many of my members miss!

Do you think this mod is ready for prime time? Should I wait for the next version?

Thanks for your answer to this and for all your good work that you have shared with us!

Barry

Cyricx
11-12-2007, 11:01 PM
Glitterkill -
I had vbseo running side by side with one of the earlier versions and didn't notice any side effect issues at all :)

Bchertov -
As to if this mod is ready for prime time... that's hard to say. Some are experiencing odd issues with it. Others are having no problems at all! I'm definately working to try to fix those problems as time allows.. but truthfully, I can't give a definitive date on when the next version will be out.

I just discovered that vbmail doesn't like to run from a cron job as an html email when a & is involved.. yeah.. that's gonna be a doozy to fix heh. :)

But yeah, evolving from yahoogroups was the entire purpose for this modification :)


ChurchMedia - You Rock!!! :)

unitedpunjab
11-13-2007, 04:24 AM
Hey MOD start working now. And my forum sending mail to every one i forced to subscribe.

But now there is a little bit problem

My forum has around 20,500 + members. And a typical subsection of my forum receive around 5-6 replies every minute. More high in certain hours.

So now when i put that sub forum on e-mail subscription list to all the registered users. It starts sending email on every post that has been made in any thread across that sub forum.

I want a tweak here so that i can set the option to SEND EMAIL ON NEW THREAD ONLY.

Where when some body start a new thread only at that time email system shoot a mail.

Couz u can imagine sending 20,500+ mails every half a minute will take my server down.

StuartDH
11-13-2007, 12:26 PM
ok. got past the imap error. Turns out this error message isn't just about which of the 6 connection type settings to use.

Could you post more info to tell us how you sorted it out

Thanks

justchecking
11-16-2007, 08:26 AM
Great mod. Really appreciate all the effort. Will contribute soon. I was able to install and also got email when someone replied. Then when I replied, i was expecting the email to show up as a reply in the thread after 10 minutes. But I have not seen it yet. My question -
Did I screw up something during installation ? I am not still not sure where I enabled the cron job. Does the script have the cron functionality or do I have to enable it in the c-panel of my site.

Does the script only verify with the email address or name also. Because in this case names do not match between vbulletin forum site and yahoo account, but emails match and hence i got the email.

Oh one more thing, in the email I received when someone replied, i see in the brackets - [forumname-t-321] ....is that normal.

thanks.
jc

Cyricx
11-16-2007, 12:51 PM
I want a tweak here so that i can set the option to SEND EMAIL ON NEW THREAD ONLY.

This is something planned for down the line. :)


Could you post more info to tell us how you sorted it out

Thanks
For your host name try, localhost, mail.yourdomain.com, yourdomain.com or your IP address for your server. I really want to create a script that will have you input a few of these different variables and then it'll run through a list and try to determine your settings for you. But that is also.. on my to-do list :(




Great mod. Really appreciate all the effort. Will contribute soon. I was able to install and also got email when someone replied. Then when I replied, i was expecting the email to show up as a reply in the thread after 10 minutes. But I have not seen it yet. My question -
Did I screw up something during installation ? I am not still not sure where I enabled the cron job. Does the script have the cron functionality or do I have to enable it in the c-panel of my site.

Does the script only verify with the email address or name also. Because in this case names do not match between vbulletin forum site and yahoo account, but emails match and hence i got the email.

Oh one more thing, in the email I received when someone replied, i see in the brackets - [forumname-t-321] ....is that normal.

thanks.
jc

It only checks the email address. And then matches that up to your user's email address. So they have to send the email from the same email address that they have associated with their username on your forums. :)

The 10 minutes thing is based on activity. Vbulletin only runs cron jobs when the forum is active. This is because the variable to run the cron jobs is actually located in the footer template. So if noone is visiting your forums.. the cron jobs.. and the email integration won't run.

Basically.. it'll run a maximum of 10 minutes if your board is constantly active. Otherwise it will wait to run til the next time someone is visiting. The best way to understand this is to open up two windows. One is to your forums. and the other is the admincp, scheduled tasks.

Do this after the board has been quiet for a few hours. What you will see when you first login is a bunck of tasks that are past the time they were supposed to run. Each time you click on a different page on the site, one of the tasks will run that are waiting to run.

justchecking
11-16-2007, 03:57 PM
thanks Chris. I finally found that we need to run the cron job manually first time through scheduled tasks manager in admincp. My problem is that when I do that, I get an error
- unable to open the stream. So basically cron script has trouble logging into the mail system and downloading the emails. I tried all 6 settings but no luck.

-thanks.
dslv

Email Integration

Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.mysite.com:993/pop3/ssl}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213

Done

Cyricx
11-16-2007, 04:39 PM
As mentioned try fiddling with the name of your host server :)

Try:

localhost
mail.yourdomain.com
yourdomain.com
your IP address

For some mail systems you may need to have the username be the full email address.

Try that and you should find the resolution :)

justchecking
11-16-2007, 05:56 PM
Chris,

I sent you a PM. Basically I am not able to make it work. Let me know if you need access to my site's admincp.

thanks.
JC

Cyricx
11-16-2007, 06:52 PM
Responded :)

PM me the details and I'll hop in and trouble shoot it :)

Cyricx
11-16-2007, 07:30 PM
Looks like I resolved this problem.

In this instance the person had put in the username as:

username+mydomain.com

once the + symbol was changed to a @ the Done message came up on the scheduled task manager :)

justchecking
11-16-2007, 08:50 PM
I still have some issues. Sorry to bother you so much. I sent you a PM.
thanks.
jc

Also one more question, do we require vbulletin version 3.6.8 for this mod to work. Mine is running 3.6..4 ?

Anyway I upgraded to 3.6.8, but still cannot get that elusive "done" message when "run now" is clicked.
Wonder how you were able to run it.

Crys
11-18-2007, 04:19 PM
Hi Cyricx,

Any possibility the e-mail integration system would work without having all this html coding showing in the posts? For example, I keep getting this:

BODY { FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TABLE { MARGIN-TOP: 1em; BACKGROUND-COLOR: #ffff66 } TD { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TH { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif }

Just wish it would convert that into BB code so that it's seamless when it's posted on the forum.

Thanks!

~ Crys ^^

justchecking
11-18-2007, 05:31 PM
It seems it ran. God knows how because whenever I said "run now" it just did not do anything. But I saw a message in the log today where it put some log messages saying "no access to post"..

Email Integration 07:32, 18th Nov 2007 Email Integration results No access to post sundar No access to post tom No access to post jerry No access to post tom No access to post
paul

All these users have enabled "get instant email notifications" in subscribe forum dialog.
Also their usergroups have been added to forum's email integration configuration part.

Any ideas.

thanks in advance.
jc

EDIT: I had wrong usergroup ids entered in the forum's email intergration configurations.

Cyricx
11-19-2007, 12:04 PM
Hi Cyricx,

Any possibility the e-mail integration system would work without having all this html coding showing in the posts? For example, I keep getting this:

BODY { FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TABLE { MARGIN-TOP: 1em; BACKGROUND-COLOR: #ffff66 } TD { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TH { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif }

Just wish it would convert that into BB code so that it's seamless when it's posted on the forum.

Thanks!

~ Crys ^^

I've got this fixed in the next version. I'm hoping to get a few of the other bugs fixed before releasing it though and that's takin me a bit of time. :(

Worst case scenario I may just clean up the coede and release what I've got fixed so far.

I'll be travelling outta town this week though and have some huge tasks at work to do in december, so I really can't offer an ETA on the fix :( :( I'll see what I can do though.

doubleclick
11-19-2007, 05:21 PM
I've read all these threads, and I understand that you have a job, a family, a non-profit org, etc. ahead of shaking out the bugs in this mod.

Truly, with all respect, I would suggest you call this BETA in the title. I, and other have run into more time consuming problems from installing this before it's really ready for prime time.

I have spent hours trying to get this to work, and in the end, am still having the same issues I had in my last post here, so I'm going to uninstall it. I will be reinstall it if/when you finish it, as it is a great idea, and will be a great addition someday.

In the meantime, I hope you consider adding "Beta" to the title in the same way that Colin F did in his vB Mail Reply. He calls his 0.7 BETA, which alerts us to expect challenges. When I saw your v2.2 I was expecting a lot more.

Thanks for your work, and hope to be using it someday.

.02,
DC

justchecking
11-19-2007, 05:37 PM
Hi,

I think doubleclick's ida is good. Cyrix has done a great job. But more may be needed. to make it a stable rock solid product.

-jc

Cyricx
11-19-2007, 05:43 PM
I'm inclined to agree, so I've made the changes mentioned.

Thanks DC!

justchecking
11-19-2007, 10:29 PM
Hey,

There was a post on my forum using the mod. great work. One question, when someone replies to a thread, how does the code match reply to an existing thread and posts in that thread, rather then creating a new thread.

thanks.
jc

Warlock40
11-19-2007, 10:52 PM
Hi, Chris.

I've been watching this hack with great interest.

I think you've done a great job and overall I'm impressed with the support and community interaction.

I'm wondering if this mod covers forums where moderation is required.

Currently if you have the email notification on under forums and moderation, regardless of whether it requires moderation or not as soon as the thread is posted those in the notification section are notified.

Does your hack comply to moderation rules. Meaning if a post is added to a activated room, where moderation is required will users be notified after or before the thread is moderated?

Thanks.

Cyricx
11-20-2007, 12:27 PM
Hey,

There was a post on my forum using the mod. great work. One question, when someone replies to a thread, how does the code match reply to an existing thread and posts in that thread, rather then creating a new thread.

thanks.
jc

Well, it has two catches in it. There is a header line in the emails that retains the postid number. And then in the subject line of the email is the postid number. The one in the header isn't working as solid as I'd like. It doesn't always correctly grab the parentid for hybrid and threaded modes. Once it's solid I'll remove the postid from the subject lines of the emails. If there is no postid in the header or subject line, it considers the post a newthread and processes it as such :) This let's people send fresh emails to the mailbox to start new threads :)


Hi, Chris.

I've been watching this hack with great interest.

I think you've done a great job and overall I'm impressed with the support and community interaction.

I'm wondering if this mod covers forums where moderation is required.

Currently if you have the email notification on under forums and moderation, regardless of whether it requires moderation or not as soon as the thread is posted those in the notification section are notified.

Does your hack comply to moderation rules. Meaning if a post is added to a activated room, where moderation is required will users be notified after or before the thread is moderated?

Thanks.

It currently does not take into account moderation. This is another reason why I agreed with moving this to a beta mod.

I need to do some reading and studying on the moderation system to determine how the system does that. It might be something simple, or complex, not sure yet :)

Also, I want to figure out the forumpassword stuff. I want to come up with a system so that forums that have a password can process emails. I'm not yet sure how I'm going to do that without it being very inconvienant for the user.



I really do have full intentions of completeing and finishing out this modification. This is one of the things that I personally feel that vbulletin is truly lacking to be competitive.

The issue is that I have 3 large projects that have to be completed before I can continue on this :(

Crys
11-20-2007, 08:37 PM
I've got this fixed in the next version. I'm hoping to get a few of the other bugs fixed before releasing it though and that's takin me a bit of time. :(

Worst case scenario I may just clean up the coede and release what I've got fixed so far.

I'll be travelling outta town this week though and have some huge tasks at work to do in december, so I really can't offer an ETA on the fix :( :( I'll see what I can do though.

Heh, that's fine. Knowing that you're working to find the solution already shows progress - and that's saying a lot since a lot of hacks here are not as supported as claimed. Well, I may not be a great coder but I do have an eye for things so let me list out what would be the most ideal version:

- Take all HTML from the e-mail and transfers it to bb-code hence allowing the user to still format text in bold, different fonts, etc..

- Providing us with a way to customize the bottom section of the e-mail (in case we want to leave a more personal message that's more suited to fit our forum)

- Instead of a new e-mail for every post, allow the user to choose whether or not they want an e-mail for every post or a compilation of e-mails once a week or daily. (a new e-mail per post may upset users, especially if the forum is incredibly busy)

-----

That's all I can think of for now. Please understand that I'm not making demands or anything of the sort. All I'm trying to do is provide enough feedback so you can continue to improve this function. Personally, I believe this is one of the most useful hacks to date but it's still in the beginning stages. Of course I'm sure the ideal setting will take time due to real life stuff but, at least, I want you to be aware of what I'm hoping you achieve in the near future.

Thank you so much for getting back to me and I'm glad you also found the minor hiccup I encountered. Good luck and I look forward to seeing your latest release. In the meantime, I'll still use your hack because I do find it quite useful, even though it's not perfect yet.

If you're US based, have a great holiday weekend and enjoy Thanksgiving!

~ Crys ^^

justchecking
11-24-2007, 05:16 PM
Chris,

I found the cause of why we get blank screen when "run now" is clicked on scheduled task page for email integration. Everytime the cron is run it causes a crash -

eaccelerator: php crashed on opline 195 of imap_open in emailintegration.php: 111

111 is the line number where imap_open is in my case. So basically we need to fix why
script crashes.

BTW, I opened a ticket for my hosting company and they increased eaccelerator memory to 32M, but the crash is still happening. Earlier I was not checking the logs in cpanel and hence was not sure why we get blank screen.

thanks.
-JC

Cheertobi
11-26-2007, 10:51 AM
I've got this fixed in the next version. I'm hoping to get a few of the other bugs fixed before releasing it though and that's takin me a bit of time. :(
Could you maybe post how to fix the "html big" manually?!

Regards,

Tobi

mykkal
11-26-2007, 10:56 AM
What about embedded images? Has anyone had any success geting embedded images to show?

I can only get images to show as thumbnails if someone emails the image as an attachment.

Tralala
11-26-2007, 09:26 PM
*shrug*

Personally, I think replying within 1 week is doing pretty damn good :)

I agree... especially with an add-on this complex and unique. I applaud your efforts!

In fact, I am in the middle of switching hosts (as the one I was using wouldn't enable imap in the php.ini file...) solely so I can use this mod.

I am keeping my eyes on it with great enthusiasm and hope to install it very soon.

Cyricx
11-27-2007, 08:06 PM
Could you maybe post how to fix the "html big" manually?!

Regards,

Tobi
I'm actually gonna try to package up my current build. It'll fix the html bug and hopefully a few other issues people are experiencing.


What about embedded images? Has anyone had any success geting embedded images to show?

I can only get images to show as thumbnails if someone emails the image as an attachment.
Hmm.. your wanting to keep them embedded into the post? I haven't even looked at emails with embedded images yet. How does it post emails that have mebedded images? does it come out in a garble? or just rips them out?


I agree... especially with an add-on this complex and unique. I applaud your efforts!

In fact, I am in the middle of switching hosts (as the one I was using wouldn't enable imap in the php.ini file...) solely so I can use this mod.

I am keeping my eyes on it with great enthusiasm and hope to install it very soon.
Thanks!!! I'll continue to pound on this sucker and every step will make it more solid :) Patience and persistence :)