This question has been flagged

Currently I have 2 outgoing mail servers configured. While sending emails, if one email servers fails then system is throwing exception and mail delivery fails. Instead I wan't system to switch and continue sending through the second outgoing mail server automatically (if 2nd one also doesn't fail).

Is there any code available to achieve this?

Avatar
Discard