Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › No email sent with download link
Tagged: configuration email, Debug, email, no buyer email sent
- This topic has 8 replies, 3 voices, and was last updated 12 years, 4 months ago by LucG.
-
AuthorPosts
-
June 27, 2012 at 11:13 am #6689LucGMember
I’ve tried to find solutions in similar posts on this forum, but no luck.
Background:
I have two websites with both an installation of eStore (v 6.5.9) + PDF Stamper (v4.1.; they’re hosted with two different hosting providers.
On the first site, all works fine (and it’s quick).
However, on the second site, the email with the download link isn’t generated for the Buyer (and a confirmation of that isn’t sent to the Seller). When I tested the functionality on the faulty site last week, it seemed to work fine. I’m not sure what’s happened.
The eStore & PDF Stamper product versions are the same; ditto their set-up.
What I’ve done today:
I’ve enabled the debug mode on the faulty site. It seems that:
– The PayPay IPN is verified (indeed the financial transaction is properly handled as PayPal’s emails go to the Buyer and Seller).
– The PDF file is stamped correctly (again, I can see this myself via the WP Dashboard interface).
– The encrypted download link is generated (I test the link from the log and it works).
– All sales tables are updated correctly (indeed I can see this via the WP Dashboard interface).
>> The only things missing are the emails i.e. actual delivery of the digital product to the Buyer + confirmation (with the aforementioned Buyer’s email appended to it) to the Seller.
I haven’t modified the plug in code.
Request:
Please could you advise what to do next? I’m not very technical…
June 27, 2012 at 1:04 pm #46526wzpModeratorIf you go to the eStore Admin Functions panel, can you successfully create a link, and then email it to the intended recipient?
June 27, 2012 at 1:06 pm #46527PeterMemberHi,
In addition to wzp’s suggestions, please go through the following post which will give you more things to check regarding the troubleshooting of email not sent issues:
June 27, 2012 at 3:39 pm #46528LucGMember@wzp: Many thanks for your suggestion. Here my findings:
1) I can successfully manually create a link.
2) When I email it via WP, I see the message on the page “Email sent successfully!”.
3) The email, however, doesn’t arrive. I’ll now look into Peter’s suggestions.
@Peter: Here my findings, based on the document you provided in your response above.
1) The log file shows entries like the following (I removed the email IDs below):
[06/27/2012 10:09 AM] – SUCCESS :Product Email successfully sent to {BUYER EMAIL ID}
[06/27/2012 10:09 AM] – SUCCESS :Notify Email successfully sent to {SELLER EMAIL ID}
If these lines refer to the WordPress mail functionality, then that part seems okay.
So on the the document you included with the checklists…
2) Checklist 1 – daily email limit.
My WP daily email spent is virtually zero. Would the usage of others on the same shared server be a possible issue?
3) Checklist 2 – Some servers only allow emails with SMTP configuration.
– I installed the plugin called “WP Mail SMTP”; did basic configuration (I changed neither the port nor entered a un/pw).
– The test email I sent using the plugin arrived okay at my destination (email test account).
– I then went back to try @wzp’s scenario, above. The message got through now!
– I then placed a normal order via the website.
– The email (with the download link) arrived at its destination (the Buyer’s email account).
– However, I did NOT receive a ‘notification of product sale’ at my Sellers email address…
>>> Q-1: Any thoughts why I’m not getting the notification of a product sale email? <<<
>>> Q-2: Should I use SMPT authentication? (The test email is only sent if I disable this. I’m not sure if it creates a security leak if I leave it disabled. But which username and password should I use? The WordPress admin details?) <<<
N.b.: If I use SMPT authentication – following the configuration guidelines here http://wordpress.org/extend/plugins/wp-mail-smtp/faq/ – we’re back to the original scenario of a. the payment is processed, however, b. the product is not delivered via email (Buyer), and c. not notification of a product sale (Seller).
And the error I see with the SMPT authentication settings as recommended is:
SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)
The following From address failed: {SELLER EMAIL ID}
4) Checklist 3 – Emails are getting marked as a spam by the mail client.
I verified this, this is not the issue here.
5) Checklist 4 – Some servers actually put a delay before the emails are sent out.
My findings under 3), above, suggest this is not the case here.
6) Checklist 5 – If you are doing sandbox testing then do not expect to receive an email.
N/a as this is on the live instance.
7) Checklist 6 – Make sure you are using a verified email address.
I don’t think this is an issue here, however, I sent an email reply from my Buyer’s account to the Seller, and it comes through alright.
Checklist 7 – Make sure the “To” and “From” email addresses are not the same.
The “To” and “From” are different.
So we’re down to the 2 Questions described in my response to Peter under point 3).
Thanks for your help!
June 27, 2012 at 5:23 pm #46529LucGMemberUpdate (in addition to point 3, above under @Peter):
Contrary to what the plugin instructions indicate, I am able to successfully use SMTP authentication and send a test email from the “WP Mail SMTP” plugin.
What I do is change the port from 465 to 25 AND use TLS encryption instead of SSL encryption.
This seems consistent with what my hosting provider says about the port available for SMTP, see http://www.uk-cheapest.co.uk/blog/2012/02/which-firewall-ports-need-to-be-open-for-pop-pops-imap-imaps-and-smtp/
June 27, 2012 at 5:25 pm #46530wzpModeratorIf you register a new WordPress user on your site, does the registration email get received by the user?
June 27, 2012 at 5:31 pm #46531LucGMemberAnd after my previous changes to the port and encryption method, I went ahead with the standard scenario (based on the port 25 & TLS settings). Outcomes:
a) The Buyer gets all the necessary information (Paypal email confirmation + WordPress email with download link).
b) Seller gets Paypal email confirmation.
c) Seller does (still) NOT get a ”notification of product sale’ message.
June 27, 2012 at 5:39 pm #46532LucGMember@wzp Yes. I just created a WP test user. An email with the subject “[site name] Your username and password” is received at the test user’s email account instantly.
June 27, 2012 at 6:46 pm #46533LucGMemberLooks like i got it sorted.
There were basically three issues that needed fixing:
A) Using the “WP Mail SMTP” plugin rather than relying on eStore’s out-of-the-box functionality (presumably because of security settings on my hosting provider’s end).
The configuration of the “WP Mail SMTP” plugin. Through some online research I arrived at the aforementioned port & encryption settings, which did the job.
C) The configuration of eStore itself. The “From Email” field in the “WP Mail SMTP” plugin (i.e. the Seller’s email) was the same as the Notification Email Address value under eStore’s Settings. This means that the Seller would be receiving an email from himself. Normally, that’s fine.
However, I happened to have an auto-forward from the Seller’s email to another email, for privacy reasons. The forwarding wasn’t done, because the Seller was effectively receiving an email from itself. This must be some Google Apps setting. This was easily rectified.
This issue can be closed.
-
AuthorPosts
- You must be logged in to reply to this topic.