Send email without using SMTP

2019-09-16 11:49发布

问题:

I would like to send an email without using an SMTP server. I have tried using CDO.Message to send email. It works fine in IIS5.0 but not with IIS6.0. Is there a way to save emails to a pickup directory that outlook will use to send through it's own processes or some other option than using an SMTP server? Our firewalls blcok port 25 fairly aggresively unless it is coming from outlook directly.

回答1:

If you want Outlook to send your message, you need to use the Outlook Object Model for that.