Jump to content

PHP mail doesn't always send


optikalefx

Recommended Posts

Hey guys,

 

I always get a "1" return form php mail, but with the large number of users, 10% aren't getting the email, so they are all constantly emailing me asking me help with their contact info.

 

The email address that im sending from is noreply@mydomain.com its the actual domain of the site. I'm using swfit mailer, but i've done this with just normal mail.

 

When asked about spam, some customers said it went there, but most didn't, they just never got it.

 

How can i reliably send email to my customers?

 

Thanks!

Link to comment
Share on other sites

You need to troubleshoot and narrow down any common conditions that apply to the email addresses that A) Receive the email but put it into the junk/spam folder and B) Don't receive the email at all.

 

Are they at one or a few receiving domains? Is this constistant, any particular receiving email address always puts the email into the junk/spam folder or any particular receiving email never receives the email.

 

You should also check your sending mail server log files to determine what if any information you can find out about what your mail server did with the the specific emails that are not working or status your mail server got back from the receiving mail servers.

 

 

Link to comment
Share on other sites

so i checked out the server mail logs.

 

mail.err has this

Nov 15 17:05:16 vm7202 sm-mta[29995]: oAB4PFem003103: SYSERR(root): Cannot exec /usr/sbin/sensible-mda: No such file or directory

 

mail.warn has this

Nov 15 17:05:16 vm7202 sm-mta[29995]: oAB4PFem003103: SYSERR(root): Cannot exec /usr/sbin/sensible-mda: No such file or directory

 

mail.info has this (contact@qbelow.com) is a customer that isn't getting the email

Nov 15 17:05:42 vm7202 sendmail[29997]: oAFN5gCE029997: Authentication-Warning: vm7202.store.cmivfx.com: www-data owned process doing -bs
Nov 15 17:05:42 vm7202 sendmail[29997]: oAFN5gCE029997: from=<technicalSupport@cmivfx.com>, size=459, class=0, nrcpts=1, msgid=<1289862342.4ce1bcc65efcb@store.cmivfx.com>, proto=SMTP, relay=www-data@localhost
Nov 15 17:05:42 vm7202 sm-mta[29998]: oAFN5gRH029998: from=<technicalSupport@cmivfx.com>, size=734, class=0, nrcpts=1, msgid=<1289862342.4ce1bcc65efcb@store.cmivfx.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Nov 15 17:05:42 vm7202 sendmail[29997]: oAFN5gCE029997: to=<contact@qbelow.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30459, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (oAFN5gRH029998 Message accepted for delivery)
Nov 15 17:05:43 vm7202 sm-mta[30000]: STARTTLS=client, relay=qbelow.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Nov 15 17:05:43 vm7202 sm-mta[30000]: oAFN5gRH029998: to=<contact@qbelow.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120734, relay=qbelow.com. [174.120.222.66], dsn=5.0.0, stat=Service unavailable
Nov 15 17:05:43 vm7202 sm-mta[30000]: oAFN5gRH029998: oAFN5hRH030000: DSN: Service unavailable
Nov 15 17:05:44 vm7202 sm-mta[30000]: oAFN5hRH030000: to=<technicalSupport@cmivfx.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30000, relay=aspmx.l.google.com. [74.125.95.27], dsn=2.0.0, stat=Sent (OK 1289862413 p36si1263156ibg.30)

 

mail.log has this

Nov 15 17:15:16 vm7202 sm-mta[30167]: oAB4PFem003103: Warning: program /usr/sbin/sensible-mda unsafe: No such file or directory
Nov 15 17:15:16 vm7202 sm-mta[30167]: oAB4PFem003103: SYSERR(root): Cannot exec /usr/sbin/sensible-mda: No such file or directory
Nov 15 17:15:16 vm7202 sm-mta[30113]: oAB4PFem003103: to=root, delay=4+18:49:56, xdelay=00:00:00, mailer=local, pri=62040000, dsn=4.0.0, stat=Operating system error

 

So obviously a lot is going wrong.  Anyone know how to understand this?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.