?
Solved

Trace emails sent from Wordpress form

Posted on 2013-11-01
4
Medium Priority
?
631 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
dec0mpile earned 2000 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

741 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