# Purchase Order Mail

**URL:** <https://www.dynamicsuser.net/t/purchase-order-mail/17984>\
**Category:** Developers Forum\
**Created:** [December 14, 2007, 10:54am UTC](https://www.dynamicsuser.net/t/purchase-order-mail/17984 "2007-12-14T10:54:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![write2sourav](https://avatars.discourse-cdn.com/v4/letter/w/3da27b/32.png) [@write2sourav](https://www.dynamicsuser.net/u/write2sourav)\
**Post date:** [December 14, 2007, 10:54am UTC](https://www.dynamicsuser.net/t/purchase-order-mail/17984/1 "2007-12-14T10:54:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![TonyH](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@TonyH](https://www.dynamicsuser.net/u/TonyH)\
**Post date:** [December 15, 2007, 7:58pm UTC](https://www.dynamicsuser.net/t/purchase-order-mail/17984/2 "2007-12-15T19:58:43Z")

</div>

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
