Will Swift process 4xx error

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
rsgopi
Forum Newbie
Posts: 11
Joined: Wed Feb 27, 2008 5:48 pm

Will Swift process 4xx error

Post by rsgopi »

I use Swift Mailer to feed a commerical MTA via SMTP. Sometimes when i exceed the peak email/hr limit my MTA will return a 4xx response to the delivering application. The basic idea is the feeding application on seeing a 4xx response should retry submiting later.

I am not sure if Swift Mailer can handle a 4xx response... Chris, i would appreciate if you can reply to this. thanks.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Will Swift process 4xx error

Post by Chris Corbyn »

MTA's will do that, but Swift is not an MTA so no. It doesn't have a whole spooler system built into it to understand how to try later. You can of course use Swift and write your own spooler (a DB would work fine) to do the retrying.

EDIT | You can think of Swift is a mail client, rather than a MTA.
Post Reply