Sending Email from enterprsie portal

Hi,

Greetings for the day,

I have developed on user control in that i have axform and axgroup where i have bound fields like from mail and to mail, here i want to send a mail from enterprise portal to “tomail userid”, if anyone come across this please help me.

Regards,

JK REDDY

Use the following code for sending the mail

SysEmailTable::sendmail() method

Hi Lalit,

Thanks for u r reply, i am checking that method now

str FromAddress = ‘Server@xxxxx.com’;
str Subject = ‘xxxx’;
str Body = ‘xxxx’;
SysMailer mailer = new SysMailer();
;

mailer.quickSend(fromaddress,‘ToemailId@xxxx.com’,subject,body);