Sent mail doesn't arrive [4.0.3]

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
sanders123
Forum Newbie
Posts: 4
Joined: Mon Mar 30, 2009 7:25 am

Sent mail doesn't arrive [4.0.3]

Post by sanders123 »

Hello,
I am trying to send email messages with swiftmailer version 4.0.3. I get a returncode 2. And it seems the messages are sent, however they don't arrive.

I am using the sendmail transport mode:

Code: Select all

$this->psTransport = Swift_SendmailTransport::newInstance('/usr/sbin/sendmail -t');
I get a return code of 2 and no exception happens.

Anyone familiar with this problem?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Sent mail doesn't arrive [4.0.3]

Post by Chris Corbyn »

Hi sanders123,

It sounds as though either the mails are being caught in a junk mail filter, or sendmail is just spooling the mail to disk and not physically sending it.

Cheers,

Chris
sanders123
Forum Newbie
Posts: 4
Joined: Mon Mar 30, 2009 7:25 am

Re: Sent mail doesn't arrive [4.0.3]

Post by sanders123 »

Chris Corbyn wrote:Hi sanders123,

It sounds as though either the mails are being caught in a junk mail filter, or sendmail is just spooling the mail to disk and not physically sending it.

Cheers,

Chris

Hmm is there a way to check this on a shared server?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Sent mail doesn't arrive [4.0.3]

Post by Chris Corbyn »

sanders123 wrote:
Chris Corbyn wrote:Hi sanders123,

It sounds as though either the mails are being caught in a junk mail filter, or sendmail is just spooling the mail to disk and not physically sending it.

Cheers,

Chris

Hmm is there a way to check this on a shared server?
If this is a shared server then I suspect my first suggestion is true. Your mail is getting caught in a junk mail filter. Shared servers are inherently abused by spammers and are regularly blacklisted.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Sent mail doesn't arrive [4.0.3]

Post by Chris Corbyn »

What's the IP address/domain name of your server?
sanders123
Forum Newbie
Posts: 4
Joined: Mon Mar 30, 2009 7:25 am

Re: Sent mail doesn't arrive [4.0.3]

Post by sanders123 »

62.221.193.42

edit: chris,

Are there other ways to get out of this? For example using a different transfer protocol?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Sent mail doesn't arrive [4.0.3]

Post by Chris Corbyn »

sanders123 wrote:62.221.193.42
The IP does not appear to be blacklisted, so that's not likely to be the issue.

Other issues could be if the IP does not have a reverse DNS record (62.221.193.42 seems to have 4 different rDNS records... I'm not 100% if this is valid for a domain that sends mail). Also, your domain name that you send from must have a SPF record (i.e. the sender address must have a SPF record).
Are there other ways to get out of this? For example using a different transfer protocol?
Yes, SMTP to a remote host is by far the most reliable (and predictable) method.
sanders123
Forum Newbie
Posts: 4
Joined: Mon Mar 30, 2009 7:25 am

Re: Sent mail doesn't arrive [4.0.3]

Post by sanders123 »

Chris Corbyn wrote:
sanders123 wrote:62.221.193.42
The IP does not appear to be blacklisted, so that's not likely to be the issue.

Other issues could be if the IP does not have a reverse DNS record (62.221.193.42 seems to have 4 different rDNS records... I'm not 100% if this is valid for a domain that sends mail). Also, your domain name that you send from must have a SPF record (i.e. the sender address must have a SPF record).
Are there other ways to get out of this? For example using a different transfer protocol?
Yes, SMTP to a remote host is by far the most reliable (and predictable) method.

Ok, thanx for your reaction. Are there smtp servers available wich I could use? Or are these all paid servers?
echoDreamz
Forum Newbie
Posts: 9
Joined: Sat Feb 21, 2009 7:54 am

Re: Sent mail doesn't arrive [4.0.3]

Post by echoDreamz »

I used http://www.dnsexit.com/Direct.sv?cmd=mailRelay for a long time, good service and cheap. You can also PM me your requirements for sending email and maybe we can work something out possibly free??(I work for a hosting company).
Post Reply