I am trying to do some emailing out of Axapta at the moment and I found an old post in the development-axapta mailing list that provides a way to check whether you can send mails via SMTP using telnet.
You can take a look at the post here: http://www.mail-archive.com/development-axapta@yahoogroups.com/msg09750.html
Another tip: if you have installed McAfee VirusScan, it might block all connections on port 25 on your PC (to avoid mass-mailing viruses using this standard SMTP port). So check it and disable it if you want to use SMTP from your PC.
Hi Martin!
AntwortenLöschenOf course you will use the SysMailer or SysEmailBatch classes. My point was that if those classes return a COM error, the post describes a way to find out if the problem is in Axapta or somewhere else (like virus scanner, firewall).
Cheers,
Helmut