How to send emails from code

Hi,

I have a simple query that i have to write a job to send mail in ax2012

sender and receiver would be fixed(hard code).

so for that what i need to do.

thanks in advance

You can find a plenty of examples on internet - simply use your favorite search engine. Here is one example: Sending Email using X++ code Dynamics Ax 2012.

Thanks it is working fine

If so, please mark the helped reply as verified (By clicking “This helped me” below the reply)