Solved

Email issue

Posted on 2013-10-23
7
182 Views
Last Modified: 2013-11-11
We have a situation where a php program sends a confirmation email when customers make appointments using php mail.

We set the "from" address in php mail to a specific email address that is a REAL email address. The host overrides it with one of their own. I believe I know how to override the host from doing that.

Some of the customers do NOT receive the confirmation email. I think doing what I have indicated will fix that, but I don't know how to test it. Seems I need a lot of diversity in testers.

Any suggestions?
0
Comment
Question by:Richard Korts
  • 3
  • 2
  • 2
7 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 39595783
Some hosts require you to use an email address that is part of your hosting package and if you don't, they substitute the address of the mail server.  The purpose of doing that is tracking in case it is spam.  Some hosts block the email altogether if it doesn't come from an email address on your hosting.

And I don't mean just using a 'name' on the hosting but a real email account.  That is so bounce notices have somewhere to go.

And some customers will not receive it if you use an email address that is supposed to come from a different mail server because that is a sign of spam.  SPF records are intended to overcome that problem by designating a 'foreign' mail server other than the one where your email account is located as an acceptable sender.
0
 

Author Comment

by:Richard Korts
ID: 39595864
Dave, I'm not sure if this helps but there is an email account, "irrigationspecialists@xyz.com". There are a lot of other email accounts at xyz.com too.

xyz.com is the url where the php scripts are.

Will that work?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39595919
If 'xyz.com' is the web site and the email accounts are hosted by the web site, that should be enough.  If your MX records show a mailserver somewhere else for those accounts, then you will still have a problem.  You also need reverse DNS lookup to match.  You can check your email setting at http://mxtoolbox.com/ .
0
Can’t get the mobile email signature right?

Not having any luck when trying to create an email signature for mobile devices? Does the formatting keep messing up? Make sure you have great email signatures on all devices by using Exclaimer Cloud - Signatures for Office 365.

 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 39597316
We have plowed this field before, and while I would recommend that you use a message service like ConstantContact.com it appears that you don't want to do that.  So you will have to do all of the things that ConstantContact.com does to make sure the email goes through.  It's a huge amount of thankless work.  Here are some of the things you must do:

Install SPF records.
Ask your recipients to "whitelist" the email address.
Include human names in the email messages (one of the sure signatures of spam is "Dear Member:")
Make sure your web host is not adding anti-spam headers to your email messages.

I agree about the need for a diversity of testers.  You'll find that different mail clients will respond differently to the messages.  Nowadays, nobody bothers to bounce spam, they mostly just throw the messages away without notice.
0
 

Author Comment

by:Richard Korts
ID: 39605725
Hi Ray,

I would LOVE to use ConstantContact if they have solved these problems.

My reluctance is based on the assumption that the "surgery" needed on the existing scripts & the develop perhaps others; I will look into it right now, I'm guessing based on your comments that they have an "API"?

Thanks
0
 

Author Comment

by:Richard Korts
ID: 39605782
Ray_Paseur

Hi Ray,

Can you give me a link to some ConstantContact docs for sending a SINGLE email? All I could find was JSON info about email campaigns.

Thanks,

Rkorts
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39605840
You can send a single email.  Just put one email address in the campaign list.  I think if you show them this thread (you may have to cut and paste) they will be glad to help.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

943 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

4 Experts available now in Live!

Get 1:1 Help Now