Page 1 of 1

Will Swift process 4xx error

Posted: Mon Apr 21, 2008 5:22 pm
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.

Re: Will Swift process 4xx error

Posted: Mon Apr 21, 2008 5:25 pm
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.