Hi All,
I would like to know the difference between Mail and SMTP Mail codeunits in terms of features like security, stability, which is much simple and how both differs in terms of operation. Is there any other codeunits to send mails from NAV apart from these two?
Kindly share your thoughts or areas to refer blogs in terms of understanding both. If both are used for sending emails alone, then why do we have more than one codeunit for the same purpose? Is there a structure to use one codeunit for a specific kind of tasks wherein the other for other set of tasks?
NOTE:
I'm using SMTPMail codeunit for sending bulks emails one by one (batch). Whenever, there is an issue in the email (in my case, if there are two emails in the Email field in the Customer table and the second mail ends with the semicolon. The sending operation stops there and I need to look in, delete the semicolon for the second email and start the batch again, which send mails to all the people who received emails successfully again.) After this, I want a smarter way of sending by sending a error log on the issue mails and proceed forward for the next emails and much more other betterment in sending mails. That's why, started to look into the advancement of these codeunits. I hope this scenario gives clarity on the question.
Thanks in advance.
*This post is locked for comments

Report
All responses (
Answers (