Author |
|
Sergei Newbie
Joined: 27 September 2011
Online Status: Offline Posts: 16
|
Posted: 28 September 2011 at 7:33am | IP Logged
|
|
|
I use asynchronous message sending via Pending Jobs. I send a email to a special mailbox wich is always full and the message cannot be delivered.
How can I configure retry logic of SMTP component so it would automatically try to redeliver an email? I would like to specify times to try and waiting period between retries.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 September 2011 at 7:43am | IP Logged
|
|
|
When you send mails with SMTP component, its responsibility area ends when message is accepted for delivery by SMTP server, so it doesn't know if email was delivered. Any further tracking of message non-delivery requires receiving and parsing bounce messages.
On the other hand, if you're looking for technique which performs background delivery with configurable sending rate and allows for re-sending failed jobs, take a look at our MailBee.NET Queue which is basically a wrapper for MailBee.NET Objects.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Sergei Newbie
Joined: 27 September 2011
Online Status: Offline Posts: 16
|
Posted: 28 September 2011 at 12:08pm | IP Logged
|
|
|
I use MailBee.NET Queue as a mass emailing component. How I can change how many times it tries to redeliver the message?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 September 2011 at 12:07am | IP Logged
|
|
|
I believe it's not doing that automatically. Failed messages are moved to "Bad" folder, and you need to click "Retry Bads" in MailBee.NET Queue control panel to force another delivery attempt. If that's not what you're looking for, you'll need to modify its code which is certainly allowed but falls beyond free support scope.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Sergei Newbie
Joined: 27 September 2011
Online Status: Offline Posts: 16
|
Posted: 29 September 2011 at 6:54am | IP Logged
|
|
|
Thanks for the information, Igor.
So, basically retry is always up to us and MailBee never tries to resend the message if it gets a transient error, right? Even if the transient error caused due to greylisting protection, right?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 September 2011 at 7:02am | IP Logged
|
|
|
Actually, there are two concepts here which should not be confused:
1. Mails which could not be sent out;
2. Mails which could not be delivered.
The first case is about mails which were not accepted by SMTP server, and in case with MailBee.NET Queue they are moved to Bad folder. The 2nd category is about messages which were accepted by SMTP server but didn't reach recipient. Processing this kind of situation requires fetching bounce messages from sender's mailbox and parsing them, and none of these tasks are SMTP responsibility.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|