Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
emails are not working for me
Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2014 - 5:54 pm

I've dug a bit more...

I think there might be a problem as the email config is talking about IMAP, and my settings are IMAP settings, while it appears that simple-press is going for pop3 with a path I do not understand.

I'll try to explain what I see:

I tried the code example from: http://il1.php.net/imap_open, this is a test case outside of simple press -

This worked for me:

<?php
$mbox = imap_open("{imap.gmail.com:993/imap/ssl}", "contact@appgo2market.com", "-- my password --");

...

..

?>

Note the ssl usage...

 

Back to simple-press, I configured: https://support.google.com/mai.....5144 (was with google apps support on the line to configure other mails as well as my php example that work).

so on simple press I configured:

imap.gmail.com , 993, SSL ...

I get immidiately "failed to connect".

 

Simple press error log shows:

file: pgo2ma/public_html/wp-content/sp-resources/forum-plugins/post-by-email/ahah/sp-ahah-pbe-test.php
line: 51
function: imap_open
Warning | imap_open(): Couldn't open stream {imap.gmail.com:993/pop3/notls/ssl}INBOX

 

Note, instead of using the path that works: imap.gmail.com:993/imap/ssl ,

simple press is using: imap.gmail.com:993/pop3/notls/ssl

 

Hopefully, this provides enough details to advise,

Best Regards,

Ronen.

 

 

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 7, 2014 - 2:37 am

I thought we were talking about subscription emails and admin notifications not being sent? I don't remember this morphing into Post by Email but I assume it has.... so...

As it says in the Codex article explaining how to set up Post By Email:

Please Note: Do not confuse this IMAP PHP extension with use of an IMAP mailbox. The Post by Email plugin will always retrieve emails using the POP protocols. It is just the method that is used to connect to the mail server and download emails is governed by the PHP functions available and the IMAP extensions are somewhat misleadingly named.

I also know of one user who had a lot of problems getting PBE to work with Google Apps and I do not believe we ever did find out whether he succeeded or not. If I recall correctly it had something to do with gMail changing the reply to fields. I think in the end he may have set email boxes up on his hosting email account which would be much smoother and easier to achieve.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Feb 7, 2014 - 5:27 am

Actually when I changed the configuration to pop, it said that it connected successfully.

Google apps seem to connect properly if you do what I wrote in this post.

 

then I noticed that 30 posts were submitted at once, and found out that it actually reads my whole email box and placing topics per email.

 

I don't understand the full logic, and I have not found the nuances in the documentation:

- Does it use the WP admin email ? If so, what if I want a different email that the admin who created the WP install ?

- I wante all email replies to extend the specific topic. How did you configure your forum for that ?

- I'm abit confused with this option per forum: In the unique forum options, extended forum, What's Unqiue Post by Email Address for this forum ?

  Do I need inboxs as the number of topics ???

  Do I need one inbox for all the groups+forums/topics ?

 

I'd like to better undersatnd what's happening under the hood, to be able to configure correctly, as today, I am kind of guessing and lost.

Thanks,

Ronen.

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 7, 2014 - 5:54 am

It is fully explained in the codex article I linked you to which tells you what you need to set up. One mailbox per forum - bit please read it through carefully.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2014 - 6:53 pm

ok, emails are working for me... thanks.

But -

When I reply to an email and add a comment, the forum posts below the comment the email details which are not relevant.

=-=-= The reply post looks like this =-=-=-=

The comment from the email and... which is good.... but also....

—--Original Message—-- From: [AppGo2Market.com] [mailto:contact@appgo2market.com] Sent: Wednesday, February 12, 2014 4:37 PM To:myemail@gmail.com Subject: Forum Post – AppGo2Market: [test]

=-=-= End of reply post =-=-=-=-=-=

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2014 - 9:33 pm

to work properly your email client should be set up to include the original post after the new reply... and then remove any text as directed above this line

[-- To reply by email insert your text above this line - instructions below --]

Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2014 - 12:37 am

How do I do that ? Can you provide an example of what you had to do ?

On Fri, Feb 14, 2014 at 4:33 AM, Simple:Press Support wrote:

> >

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2014 - 12:40 am

an example of what?

I dont know what email client you use, so cannot tell you how to make sure the quoted email is below the reply, but it will be in the options...

As to the string, in all subscription emails (if running the post by email plugin) we add that string into the email content:

[-- To reply by email insert your text above this line - instructions below --]

Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2014 - 2:37 am

just testing to see how it works here.

On Fri, Feb 14, 2014 at 7:40 AM, Simple:Press Support wrote:

> >

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 14, 2014 - 3:46 am

The instructions do ask you to 'remove all old text from ABOVE the insert line' which, if done, will remove all of the garbage text that an email client puts there whether you want it or not. The PBE code can have no idea whatsoever whether all this is a part of your reply post or not.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620