Email through code

Hi,

I am using AX 2009. I am sending email through code. I have used email parameter settings. Table - sysemailparameters , property = saveaspercompany = Yes. But password is not field in this table that’s why email code is not working for 2 different companys. Is there any other solution? please help!

Passwords are saved in another table: SysEmailSMTPPassword (which is also shared across all companies).

Hi Martin,

I have done my solution - I have set email parameters common in 2 companys. As per my study this email parameter settings used for only email authentication. In code I have write my email code by using sysmailer. My email is working for 2 different companys with different settings for from and cc address.

could you please elaborate the setup (System) needed for sending email in AX2009.

Krishna, this thread is about setting email password table to be company specific.

Please create a new thread with your question and please provide more information about your problem. Also, if your question is strictly about setup, the developer forum doesn’t seem to be the right place.

thanks Martin,

I could do the same