Solved

Trace emails sent from Wordpress form

Posted on 2013-11-01
4
522 Views
Last Modified: 2013-11-01
I have plugin on my wordpress website which is basically a membership area. Once the user registers the user get put into a pending list. My client will then login to wordpress and activate the account. This process sends an email to the relevant user confirming registration is complete. I have tested this process via various email accounts and it works perfectly for me, however my client is getting lots of emails saying that they did not receive the activation email.

Is there anyway I can trace these emails to prove that they are sent? I understand the email may go into a junk folder, but I can not control that. All I want to do is prove to my client that the email has been sent. Is this possible?
0
Comment
Question by:petewinter
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
dec0mpile earned 500 total points
ID: 39616507
I don't know of a way to do this without having full control of the email server (which most likely you don't, if this is hosted by third party).

So what I would do, is log all email from wordpress before they are sent to the email server. You can do this yourself with php, or use a plug in that will do it for you:

http://wordpress.org/plugins/email-log/

You can show your client how to look up all messages in the plugin, and see that the email was sent successfully. As you mentioned, most likely they are going in the junk email folder for certain people and they never see them (if this is a business email the company SPAM filter may pick it up and never even deliver it to the users junk folder).
0
 

Author Closing Comment

by:petewinter
ID: 39616621
Many thanks
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39616793
The reason the emails are getting spam flagged is because they generated directly on the web server and that sort of automatic email raises the spam score.  If the server has been flagged as a spam source in the past (very common with shared hosting) the chances of the email being delivered goes way down.  You may need to change from the default PHP mail() sends to a true SMTP server with authentication or sign up for a transactional email service.
0
 

Author Comment

by:petewinter
ID: 39616853
jason1178 - Thanks for the advice.
0

Featured Post

Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now