By Martin Perlin on Monday, 06 January 2014
Posted in Technical Issues
Replies 30
Likes 0
Views 0.9K
Votes 0
We have Cron and IMAP set up, should any user now be able to reply to a discussion topic email and their response will appear in the forum?
Hello Martin,

Yep, when the user receives an e-mail notification, and reply to that e-mail, it will be processed as a reply to the forum. This is also provided that their e-mail matches with an account on the site
·
Monday, 06 January 2014 02:51
·
0 Likes
·
0 Votes
·
0 Comments
·
How long does it take to process? I have been trying this and haven't got an email reply to appear in our EasyDiscuss forum yet.
·
Monday, 06 January 2014 17:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Can you please provide us with the Joomla back end access as well as the FTP access so that I can check on the issues on your site? We actually need these information so that we can debug on your issues quickly.

Thanks:)
·
Monday, 06 January 2014 18:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Here is the site details
·
Monday, 06 January 2014 18:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Please let me know if you find anything that helps to make possible direct reply to forum discussions via email, thanks
·
Monday, 06 January 2014 19:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Have you been able to evaluate our site and why we have not been able to successfully reply via email to a discussion?
·
Tuesday, 07 January 2014 20:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Here, attached, are my settings for the email parcer. Are they all correct to allow me to reply by email. We are using Gmail as our email platform. Do you need our Gmail credentials to check that everything is working over there?
·
Wednesday, 08 January 2014 00:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Attached is the screenshot for the Email parcer settings
·
Wednesday, 08 January 2014 00:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

So sorry for the delay in getting back to you. We must have missed your post. I have checked out your issue and your site is giving this error when I try to connect to teh mailbox

Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/novalidate-cert}INBOX in /JOOMLA/components/com_easydiscuss/classes/mailbox.php on line 101

I did some reasearch and it seems like you will need enable this http://php.net/manual/en/book.openssl.php Please contact your webhoster and ask them to do this for you. Hope this helps.

Thanks!
·
Wednesday, 08 January 2014 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for looking into this.
Our host says that our OpenSSL is enabled and sent us this link showing the current state http://itoa-landscape.org/phpinfo.php
·
Wednesday, 08 January 2014 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

I have been testing around with this for quite a while on your site and my local instance and what I find rather strange is that it's as though there's no outgoing connection to google's imap server when we run the same exact code on your server and our local instance.

I am just wondering if the server has any firewalls that may have prevented the outgoing connections on specific ports? Do you own the vps? If you do, would it be possible for you to provide the root access for us to check? If you are not comfortable with this, can you check with your webhost if there's such security module in place?
·
Wednesday, 08 January 2014 22:42
·
0 Likes
·
0 Votes
·
0 Comments
·
no problem, here is access to the Cpanel, see below.
Let me know if this is the information that you need. Thanks
·
Wednesday, 08 January 2014 22:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Were you able to find any issues or reasons for why we have been unable to respond to disucssions via email?
·
Thursday, 09 January 2014 11:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

I still can't seem to connect to gmail's imap server Can you try contacting Arvixe and see if they have any ideas why imap.gmail.com is not responding? I actually tested this with the same exact settings on your site on my local and it connects just fine.

This problem only seem to occur on your hosting where it's timing out when connecting to imap.gmail.com at port 993. I have a feeling that Arvixe vps is blocking outgoing connections or they have some sort of firewall installed.
·
Thursday, 09 January 2014 13:07
·
0 Likes
·
0 Votes
·
0 Comments
·
OK I will approach our host. I will ask them about this timeout and firewall.
However we are successfully getting notifications about discussions on the forum, just not able to reply via email. I guess those are completely separate, right?
·
Thursday, 09 January 2014 14:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, that is correct Martin
·
Thursday, 09 January 2014 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Maybe we shouldn't be using Gmail (Google Business Apps) but only use the host's email server. Maybe that is causing a problem in the process?
Have you seen negative experience with connecting to Gmail?
·
Thursday, 09 January 2014 16:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

There's actually no problem at all with gmail because I used the same settings that you set on your server on my local instance and it worked fine
·
Thursday, 09 January 2014 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you look at the email configurations for this site? See below for the access details
·
Thursday, 09 January 2014 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

That e-mail configuration is for e-mails on your hosting account and not gmail's
·
Thursday, 09 January 2014 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Talked with the hosting, we are on a Linux server
It is not grabbing the reply emails for the discussion.
We have turned off the firewall, but still no change
Maybe the port that is going through is the wrong port? He suggests also to try 465, 587, 995
Is there any error log?
What is the process for EAsyDiscuss module to get the email replies from gmail (which directory, which script)? If I can supply this to the hosting, they can help to narrow down the problem.
·
Thursday, 09 January 2014 23:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

EasyDiscuss connects to Gmail's imap server via imap.gmail.com at port 993 . We can't connect to a separate port because gmail uses port 993 for imap.
·
Friday, 10 January 2014 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks. You said that you got everything to work on your hosting. What is your hosting (you can PM if you prefer). Maybe that is preferred. I don't know what configurations to change on our hosting to get this to work.
·
Friday, 10 January 2014 16:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

I actually tested this on my local machine Martin. Was not using any hosting to test this out.
·
Friday, 10 January 2014 18:12
·
0 Likes
·
0 Votes
·
0 Comments
·
IMAP works and communicates with Gmail just fine - but email parsing doesn't. The normal behavior would be for me to respond back from the targeted gmail email account - then your script would kick in & parse then display my response on my site according to relating post.

Not sure if this helps in troubleshooting - but this is what I get when accessing:

Email batch process finished.string(34) "{imap.gmail.com:993/imap/ssl}INBOX"

Let me know what information you need inorder to further troubleshoot/resolve this and/or provide me with step by step instructions on setting up my Joomla so that email parsing works.
·
Thursday, 16 January 2014 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Sorry that was my debug codes. Please pass this error message to your hosting provider, the error is being triggered by PHP's imap library:


Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX in /home/martinev/public_html/components/com_easydiscuss/classes/mailbox.php on line 100

Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX in /home/martinev/public_html/components/com_easydiscuss/classes/mailbox.php on line 100
·
Thursday, 16 January 2014 11:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

Thanks for getting back to me. I passed that information along to my server provider and now this is what it shows:
Email batch process finished.
Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/ssl}INBOX in /home/martinev/public_html/components/com_easydiscuss/classes/mailbox.php on line 100

1 emails parsed.
2 emails parsed.

But still I do not see the parsed data in the articles comment section.
·
Thursday, 16 January 2014 12:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

That Email parsed is actually meant for "sending e-mails" and yes there's a typo there But the rule to process incoming emails is throwing errors as you can see there.
·
Thursday, 16 January 2014 17:33
·
0 Likes
·
0 Votes
·
0 Comments
·
We have made great progress on being able to reply to the discussion directly via email.
However a few issues have come up.

1) Emails replies seem to be appearing as new discussions rather than replies to the intended topic
2) Since the reply is coming from an email notification that was laid out in formatting HTML, the reply contains all kinds of broken HTML code

For example in the reply it appears as:

User
created a new discussion
Re: New comment posted for the discussion To many, Predic...
actually I didnt reply through email...it was directly in the forum....NOW this is a reply through email....let's see if this works... On Thu, Jan 16, 2014 at 7:55 PM, ITOA Landscape <
forum@itoa-landscape.org
> wrote:

ITOA Landscape website
Martin
commented in the discussion
Predictive Analytics - a game changer, or a Sci-Fi project?
Good job! Looks like you made a reply on the email and it got to the forum
You may view the discussion by clicking on the button below.

Read this discussion ยป
·
Sunday, 19 January 2014 06:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

If you post a new discussion and reply to that email notification, does it get processed as an e-mail?
·
Sunday, 19 January 2014 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post