Purchase Order Mail

I want to send the supplier a mail when the Purchase Order is raised. Where and How do to acheive this. Plz help.

What version of Nav are you on?

Do you want to just send an email saying that the PO was raised or do you want to attach a HTML/PDF copy of the printed document?

I would recommend that you do this on the release function; Dependant on the version of Nav you are using.

But be aware that you can re-open and released a document, so you might what some handling for that - like raise another email about changes to the document.

Take a look at Codeunit 397 Mail, or in version 5.0 there is handling for SMTP.

T