Mail with attachments.

Hi, I’m not able to attach a file when sending mail using the below code. Is there any setup to be done for attachments? SysEmailTable::sendMail(‘Aa’,‘en-us’,‘xxx@gmail.com’,null,FileB);

You need to specify a folder for “Allow embedded data and attached files from” in the email parameter

Hi KS,

You can use below code

smmOutlookEMail::constructEMail(smmSaveCopyOfEMail::No,
0,
0,
“your email id”,
“”,
“Filepath”,
“Yoursubject”,
“Body text”),
“”,
smmEMailSMS::EMail);

Best Regards,

Jagannath Tripathy