Solved

Email issue

Posted on 2013-10-23
7
181 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 82

Accepted Solution

by:
Dave Baldwin earned 250 total points
Comment Utility
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
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Suggested Solutions

Resolve DNS query failed errors for Exchange
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

772 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

12 Experts available now in Live!

Get 1:1 Help Now