0

I am developing a bulk email procedure, in that I have no issues in sending emails in batches. My problem starts when the recipients address is invalid or rejected by the host server.

Simply how can I tell the SMTP server not to retry it the original email was bounced.

I can only use MS Exchange Server.

Nuwan Dammika
  • 587
  • 9
  • 20
  • I think its impossible to send a SMTP command to stop re-sending a message. As mentioned by @mit2935 it can be configured at SMTP Server level. – Nuwan Dammika Sep 16 '13 at 07:45

1 Answers1

0

The number of retries is a setting that you can configure in MS Exchange. See: http://technet.microsoft.com/en-us/library/jj891103(v=exchg.150).aspx

mti2935
  • 11,465
  • 3
  • 29
  • 33
  • Thanks but I need a solution which should be through SMTP commands. I don't want the re-trying to stop for all messages,but for certain messages – Nuwan Dammika Sep 16 '13 at 03:34
  • I don't think it's possible to manage the queue using SMTP commands, but it may be possible to do so using Powershell. see http://blogs.technet.com/b/messaging_with_communications/archive/2011/04/22/how-to-manage-exchange-2010-message-queues.aspx – mti2935 Sep 16 '13 at 09:54