Codeunit 400 vs Codeunit 397

Hi,

We got requirement to send emails from Navision.

If we use Codeunit 400 this enable us to send signature as it supports HTML but if the email is not there it gives error.

We want to have the feature that if there is no email address provided for Customer the email should go to drafts to dealt with later.

This possible with cdu 397 but HTML is not supported.

How to send email to draft with cdu 400

Thanks.

In the past, we’ve done this by creating a dummy e-mail address, like review@domain.com, and then send the e-mail to that address if the Customer doesn’t have a valid e-mail address.

Thank you George that makes sense.

But now i noticed by this method we get error if email sent to external

‘550.5.7.1 Unable to relay’

Please advice. Any settings on exchange server need to be changed? if yes then what are those?

Thanks

Ok its solved, I changed to Basic authentication.