vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Email Integration (New Threads/Replies by and through email!) (https://vborg.vbsupport.ru/showthread.php?t=169247)

Cyricx 06-20-2008 02:32 PM

In the admincp under Email Integration.

Most common errors:

Hostname: try the IP, localhost, or mail.yourdomain.com
username: try just the username or username@yourdomain.com
password: case sensitive

Joshva 06-21-2008 06:20 AM

Hi Cyricx,

Thanks for the prompt reply.


I finally found the script:

http://www.joshandfriends.com.au/for...gs.php?do=test

I ran it with my settings for the forum. It returned exactly the parameters i am using!

I tried setting up a mailbox in Outlook with the same parameters and it correctly retrieved the emails.

I have re-tried to reply via email integration and run the cron job manually from the Scheduled Tasks.


Any other ideas as to why it is not bringing back emails?

Cyricx 07-01-2008 12:37 AM

I'd have to see your forum manager settings to confirm what's wrong.

Perhaps the mailbox name is changed from INBOX to something else?

popmyzit 07-12-2008 04:10 PM

Hello again,

I still have errors even though I set GMAIL to POP3 and IMAP enabled:

Email Integration

Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - X Forum

Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - X Forum

Done

---------

Can we not use GMAIL with this integration as you mention?
thanks

popmyzit 07-12-2008 04:36 PM

I read up on this, others are having similar problems with gmail can you please test this with php 5.25?

Do i need port 995 open from my end? I seem to have IMAP functions installed.

StephenKay 07-13-2008 06:13 PM

This mod looks very interesting, but I have a question:

Does this do any checking to verify someone posting a new thread or reply is a verified member? Or can any spammer who gets a hold of one of the thread email addresses post into it?

Thanks,
Stephen

Cyricx 07-14-2008 11:49 AM

Quote:

Originally Posted by popmyzit (Post 1573651)
I read up on this, others are having similar problems with gmail can you please test this with php 5.25?

Do i need port 995 open from my end? I seem to have IMAP functions installed.

The problem, from all of my testing (running 5.26 on my server) relies with the settings in gmail. I've been able to duplicate no issues with setting up gmail per the second post :(

Quote:

Originally Posted by StephenKay (Post 1574405)
This mod looks very interesting, but I have a question:

Does this do any checking to verify someone posting a new thread or reply is a verified member? Or can any spammer who gets a hold of one of the thread email addresses post into it?

Thanks,
Stephen

It has two different ways it verifies who you are. 1) It directly checks the email address the email is sent from to the email of a registered user to determine who the user is. Or you can turn on "strict" email checking, it which it rebuilds the email address using the username of the email address the email is sent from with the domain the email is sent from.

popmyzit 07-20-2008 02:04 AM

Hello,
actually it does work now the port 995 of the server has to be open in order to do IMAP/POP SSL secure transfers.

just wanted to let you know.

thanks again will test more.

BustaCap 08-09-2008 01:37 AM

I am trying to "mirror" a mailing list that I belong to to my vbulletin forum but am having some issues.

None of the users on the mailing list are users on my forum (and I want to keep it that way). I simply want a way to collect all of the messages on the mailing list and have them posted to my forum so I can easily read and search them. Is this possible? The problem I ran into is this:

1. I have a Gmail account that the mailing list messages go to. I setup EI to connect to that Gmail account so that messages are archived after downloading
2. The first time I ran the cron job it gave me an error saying no users with the gmail account that I use could be found. So I changed my email address on my forum to the gmail account. Then, when I ran the cron job all of the messages in the gmail account are removed from the inbox and archived. So far so good. But, when I then go to my forum none of the messages show up there.
3. To troubleshoot, if I send an email to myself using the gmail account, that message is correctly posted to the forum.

So it looks like it is ignoring any message that do not originate from my gmail account. Is this how it is supposed to work or do I have I have an icorrect setting somewhere?

More distressing is that I received error emails to my admin forum email address *from* the listserv saying "Your message dated Fri, 08 Aug 2008 20:03:54 -0600 with subject "Error:Invalid User Email" has been submitted to the moderator of the listserv". How does EI even know what the listserv email address is?? I really don't want *any* messages going to the listserv.

kevinh 08-11-2008 11:36 PM

Quote:

Originally Posted by BustaCap (Post 1594461)
So it looks like it is ignoring any message that do not originate from my gmail account. Is this how it is supposed to work or do I have I have an icorrect setting somewhere?

That's how it's supposed to work, otherwise anyone could post to your forum if they know the EI mailbox address.

kevinh 08-12-2008 02:48 AM

Just in case users of this forum are unaware there is another very substantial thread about this mod here https://vborg.vbsupport.ru/showthrea...151222&page=61

We are now running this on a live vBulletin site and I thought it might be worth sharing some of the issues we have come across;
  1. We had a small number of posts by email that displayed the html code in the email - we seem to have solved this by switching to plain text in the settings.
  2. Users clicked 'reply' after receiving an email notification of a new post, then cleared the whole email composition window and typed their reply, resulting in a new thread being created by EI.
  3. Users accidentally editing the dashed lines resulting in the whole reply email being puiblished in the forum, rather than what was just between the dashed lines - I'm surprised this wasn't treated as a new thread by EI.
  4. One user couldn't figure out why he couldn't type his reply between the dashed lines before he clicked 'reply', (he thought it was because he was using a Mac!).
  5. Users have also experienced some formatting/line break issues, possibly because their email text has been pasted from another application.
  6. We have noticed that some users tend to reply to any email with a completely unrelated post which belongs in another forum. In this instance we move the post, however if another user respond to the original post by email, their reply ends up in the original forum, rather than the forum the post was moved to.

Although all but one of these are user related problems, they should be considered carefully before using EI on a large, busy vBulletin site, because it could easily create a heavy admin load for the site owner.

salava 08-25-2008 07:52 AM

Quote:

Originally Posted by Joshva (Post 1551325)
Hi,

I have followed the instructions carefully but any emails i respond to just sit in the inbox of the email account. The mod does not pick them up. I have tried both POP and IMAP. I have tried running the cron manually. It still does not pick up.

How should I diagnose this issue?

Thanks,
Josh

I have absolutely the same problems. I have used several types of email accounts for the forum, I have used new "virgin" forum without any other mods, I have used several different options, but without success. The forum settings help script works without problems.
This mod will be very usefull for me, I have many old emails with information I want to place on board and it would be difficult manually.

I am using latest vB 3.7.2 and hostmonster hosting.

salava 08-25-2008 08:05 AM

Quote:

Originally Posted by kevinh (Post 1596589)
That's how it's supposed to work, otherwise anyone could post to your forum if they know the EI mailbox address.

Who would be the sender of the post sent by email if there are two vBulletin users with the same email? [Such option is possible in vBulletin]. Or such emails will be ignored or the mod failed?

kevinh 08-25-2008 10:02 AM

Quote:

Originally Posted by salava (Post 1606343)
Who would be the sender of the post sent by email if there are two vBulletin users with the same email? [Such option is possible in vBulletin]. Or such emails will be ignored or the mod failed?

I don't know why you would allow two different users to have the same email address. But if you did I don't know how this mod would handle it. Try it and see what happens :)

kevinh 08-25-2008 10:16 AM

Cyrix,

I have moved a thread from one forum to another and left a re-direct, both have EI enabled.

If someone replies by email to an email notification of a post to the original forum, sending it to the mailbox for the original forum, EI follows the re-driect and posts the thread in the new forum, but it sends out the email notification of the new post to subscribers to original forum (where the post no longer exists), and not to subscribers of the new forum.

Needless to say this is causing all sorts of problems!

Can you put this on the 'to do' list please :)

Thanks,
Kevin

salava 08-25-2008 03:43 PM

I am not able to try, mod does not work for me. And why same emails? I am preparing new forum for several groups of users and I want test all features plus to place on the board some "old" email discussions and not bother real users with new correspondence and me with opening so many new email accounts. But these are only details... The most important is to make the mod working.

curse-1 08-27-2008 11:27 AM

Hello, short question! Did someone translate coincidentally this nice tools on German?

beishe8 10-23-2008 08:42 PM

Is this mod dead?

Cyricx 10-23-2008 08:53 PM

Not dead. Just on haitus.

Economy and real life.

Going through a separation plus having to get extra income where I can leaves me with little time to devote to this right now. :(

But it's definately not going to die. As soon as I get the time I've got alot planned for this.

Funny how time can be so very elusive though..

beishe8 10-24-2008 08:08 AM

Quote:

Originally Posted by Cyricx (Post 1651387)
Going through a separation..

Sorry to hear that... :(

leitel 10-29-2008 05:28 PM

Got this mod working. As I look it over, I notice that the "From" is showing my server SMTP domain. What need is to have the from domain be the same address as the mailed-by domain.
Thank you :)

tommythejoat 11-03-2008 04:32 PM

Quote:

Originally Posted by itconsultingnv (Post 1498245)
Continuing to have the problem where it works for awhile, posts to the forum are sent out and email responses are posted, then suddenly, for no apparent reason it keeps sending an email post over and over and over, when I check the webmail I see the offending email post as well as other posts sent after that one that are sitting there waiting to be processed. If I go into the cron it gives me a line 1093 error, then if I go to the webmail, clear out all of the emails, then run the ei cron again it no longer errors. Don't know if that is related in some way. Anyone know what to do? Is Cyrcicx still supporting this software? Not sure if I should continue spending time on this option until further notice. Please help. Anyone else running this successfully? Thanks!

I have been trying to get this going also. I am willing to spend quite a bit of time on it and have been looking through a listing of the cron job.

There seem to be a number of places where the incoming email format does not get handled properly and eventually you get around to processing a message that generates a fatal error. 1093 is one of the error lines. That particular one seems to be eliminated by commenting it out, but it looks like one needs to know the vBulletin function library pretty well to be able to effectively read the code.

Is there anyone participating here who is a programmer of this material? It is very new to me, although I have about 30 years experience as a programmer in other environments.

Debugging something running on a server with a live message board is kind of painful.

I am running 3.7.3 pl1 and the latest version of the mod posted here.

I set up my server mailbox as a pop3 source for my personal mail that I can turn on or off. That lets me pull the pathological emails out of the box and continue testing. If you leave them in, the scheduled task will continue to process everything with a datetime later than the broken email and the cron job will generate its fatal error on every pass.

I think it might be better to disable the scheduled running of the routine and just run it manually when you want to work on it. That way you can put output statements in the code and see them in the AdminCP as the routine runs.

kevinh 11-03-2008 08:33 PM

Quote:

Originally Posted by itconsultingnv (Post 1497703)
I am getting the same problem as Tom S. The cron is not cleaning out the POP account and will continually repost. When this occurs and you go to scheduled tasks the cron gives you the 1093 error. If you clean out the pop account and rerun the cron everything works again, until someone posts an email reply with something odd with the email which trips the cron. Then your back in the loop again. Really want this script working but not sure why this is occurring still (have 3.6.2) ... Been posting to another thread where toivo has been assisting but not sure that is right. Uggh... really love the script, want to use it for our non-profit. Can you tell me if this is a known bug and if the issue will ever be resolved.

I had the problem mentioned above and after doing the suggested mods in the other thread I now have it working. Start with post #843 on this page https://vborg.vbsupport.ru/showthrea...151222&page=57

NOTE: This URL points to the other thread for this mod in the vB 3.6 forum.

We're running vB 3.7.1 and we use Email Integration with plain text email. I seem to remember seeing at least one further code tweak that is required if you are running vB later than 3.7.1

yaku 11-04-2008 12:42 AM

I'm going nuts trying to figure this out. I keep getting this error:

Quote:

Email Integration

Warning: include_once([path]/./includes/cron/emailintegration.php) [function.include-once]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 113

Warning: include_once() [function.include]: Failed opening '[path]/./includes/cron/emailintegration.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/admincp/cronadmin.php on line 113

Done
I've tried the IMAP and POP3 changes...anyone know what is causing this?

tfw2005 12-06-2008 06:34 PM

I have some suggestions for if/when this things gets back going.

I would like to use this more as a submission deal, where specified contacts who normally wouldn't participate on the forum can send correspondence to a particular email, and it will be posted into a private forum for staff to read.

It can be done now, except I would need to create a user account with each one of their emails so that it doesn't get bounced. And folks working at or for companies may have several different email addresses they use to communicate.

I have no desire to use the subscription or mass emailing system. Just incoming, once, gets posted, staff looks at it on site. Replies to that thread would never be emailed back to anyone. And I guess, the response emails posting replies and not new threads - that could be removed here too. As could the usergroup check.

To prevent spam if the email address got out, I would suggest creating a universal whitelist on the backend, so that we can add addresses at will, similar to how it checks against user accounts. But it checks that one list. We can scan the actual mailbox every so often, and if we see an email from an alternate address, or new person, that we want to continue getting alerts from, we add it.

Would also like a way to leave emails on server, possibly move to a predefined folder in the mail account like "Read" or "Posted".

Not sure if that is too far out of specs for this, but if those options could be added, like "use for correspondence OR use for mailing list" and then fill in options for whatever you choose, that would be cool.

Up side, could also add in RSS feeds from news sources and update blogs from people/companies you want to watch, and put that in the same forum. So you have one place to check on your own site for stuff that needs to be addressed.

I would donate significantly if this could be achieved. Just PM me for further specs if desired.

Good work either way, thanks for the mod, later!

roalaik 12-09-2008 07:51 AM

hello. Can I import from my current list which is in CSV?

snoopy5 12-11-2008 04:15 PM

Hi


1. Is it possible to use this plugin only one-way? I.e. only to send e-mails with all postings of the board out, but without the option to reply by mail?


Quote:

After installing this modification you will have new settings in your forum manager where for each forum you can enable this modification and setup a separate email address to use for each forum that you have this enabled for.
2. Is this step above a "have to"? Is it possible with the scenario #1 to skip this? I want my users to get all postings, no matter which subforum, but they shall not reply by e-mail.



Thanks in advance

yinyang 12-11-2008 07:28 PM

any chance this moving up to version 3.8?

ThomasR 12-23-2008 12:25 PM

I just installed it on vb 3.8 RC2. "Seems" to be ok but I have several problems (reply by email which never arrives on the forum, part of the email reply box which appears, etc), but I have to check more in depth before asking for help (perhaps I miss something)

fly 12-23-2008 04:31 PM

I'll go ahead and ask this - to see if anyone has by chance done it, before digging into this hack...

I want my users to be able to MMS/email pictures to a specific thread in the forum. This hack seems to be close. I only need the mailbox checking part and then to direct it to a specific thread of my choosing. I'm fine with the pictures being posted anonymously. Usernames would be awesome, but with MMS seems like it would be hard to implement.

I seriously doubt anyone else wants this or has done it, but it doesn't hurt to ask...

roalaik 12-23-2008 04:47 PM

I am looking for answers if I can import users from google groups or yahoo groups

yaku 01-13-2009 12:31 AM

One warning about this hack: the emails will contain the poster's IP address if you don't use a SMTP server rather than the internal PHP mail() function.

TBrewerton 01-19-2009 09:07 AM

I have also just tried this on 3.8 and can only get e-mails to send yet cant reply respond to the boards.

Please can we get an urgent update as my board relies on this mod and i would love to upgrade.

Thanks,

Tim

optrex 01-22-2009 07:36 PM

Please add me to the list too for a 3.8 upgrade. Nothing incoming, presumably due to re-captcha.

mjname 01-27-2009 03:12 AM

Has anyone tried this with Blog? I would love to be able just update my blog with this.

mykkal 02-27-2009 09:13 PM

Can a hook be made to tie into the FaceBook Connect Mod? That mod allows users to register and sign into forums using their facebook ID's. I am using email integration and the once a user has registered they can use the email intergration to post.

But FaceBook connect also allows a user to post directly to thier facebook profiles a "note" with the title of the thread. This note redirects back to the actual forum thread.

Is it possible to get a hook made that will publish these threads when the user logs in or that will publis the threads to facebook when the email is recieved?
:)
Facebook connect mod:
https://vborg.vbsupport.ru/showthrea...t=198499:cool:

also... where is the 3.8 version?

rodneytamblyn 03-01-2009 07:55 AM

Hi Cyricx,

A few email integration woes today.

I have about 15 forums enabled with EI addresses. A user complained that mails being sent to one of the addresses were not being delivered. I ran the cron job manually and discovered it complaining:

Fatal error:
* The text that you have entered is too long (10328 characters). Please shorten it to 10000 characters long.
Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in [path]/includes/class_dm.php on line 810

Fair enough, I increased the maximum post length. Bad mistake. Turns out there were a lot of messages queued up in other forum email accounts. The system went crazy and generated thousands of email messages before I realised what was going on.

Next issue I found:

Fatal error: Call to a member function on a non-object in /Users/oceanbrowser/Sites/forum/includes/cron/emailintegration.php on line 1615

This has been referred to elsewhere, I applied the fix changing that line to $plaintext_parser->set_parsing_language( 1 )

However I also got this error which I haven't seen reported:
Fatal error: Call to a member function on a non-object in /Users/oceanbrowser/Sites/forum/includes/cron/emailintegration.php on line 1093

Applied your fix to that line too.

Next I got this error:

Fatal error:
* This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.
Unable to proceed with save while $errors array is not empty in class vb_datamanager_post in [path]/includes/class_dm.php on line 810

It's very difficult to work out which forum is affected. Would be great if the error messages in the cron also outputted the details of the email message being processed (which would also show the forum being sent to)

I still haven't solved the last above issue, have disabled EI in the forum tonight and will have to spend more time tomorrow investigating that.

The installation documentation should warn users to check the maximum post length and be aware that if an email comes in that exceeds this length it will stop ALL processing of emails in all lists - i.e. when an error occurs the cron job doesn't log it and continues, it aborts. And if you change that setting later, it can initiate an email flood if you have an accumulated backlog of messages.

For some reason (also TBD) EI posted the same messages over and over into the forum - I think it was erroring out before it had a chance to delete the messages (?) then next time the script ran, it posted them again. Would be good if the posting mechanism checked for duplicate post, and also if there could be some in-build flood protection measures.

~ Rodney

rodneytamblyn 03-02-2009 08:05 AM

In the email integration cron job I am seeing this error message (below). Any ideas how to resolve this issue?

Thanks

~ Rodney

Email Integration

Fatal error:

* This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_post in [path]/includes/class_dm.php on line 810

mykkal 03-02-2009 12:48 PM

I had to uninstall this mod removing an important feature of vBulletin becuase it doesn't work with 3.8.1.

I've asked in the forum but haven't got any replies on when Email Intergration for 3.8 would work.

This is messed up. Be nice if we had an update.

beishe8 03-03-2009 03:25 AM

Quote:

Originally Posted by Cyricx (Post 1651387)
Not dead. Just on haitus.

Economy and real life.

Going through a separation plus having to get extra income where I can leaves me with little time to devote to this right now. :(

But it's definately not going to die. As soon as I get the time I've got alot planned for this.

Funny how time can be so very elusive though..

I was excited when you started to develop this hack but as I see you do not have the time to further improve it.
With 3.8 it's not working at all because of the changes in vB's code.
Isn't it possible to offer it to vB.org's hackers to make the final touches to it?

All the best, beishe8


All times are GMT. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03308 seconds
  • Memory Usage 1,883KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete