Solved

Email issue

Posted on 2013-10-23
7
184 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 109

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 109

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
applying error reporting code to see paypal error messages 13 54
QUEUED email in my exchange 2003 for unknown reasons... 7 40
error log using ftp 7 40
PHP AJAX JSON 2 61
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
This Micro Tutorial demonstrates  how Internet marketers work with competitive analysis data, and a common task in data preparation is creating separate column for domains. You will then extract from a list of URLs.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

770 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