Hello,
i want to send mail with attached file PDF. I use this code, i recieve the email but without PDF File
please help to solve this issues!
public void SendMail()
{
SysEmailTable sysEmailTable;
Set MailSet;
str attachFiles;
Map mappings = new Map(Types::String, Types::String);
str LangId = "fr-be";
attachFiles = "D:\test\test.pdf";
sysEmailTable = SysEmailTable::find('TenderTran');
SysEmailTable::sendMail(sysEmailTable.EmailId,
LangId,
destination.text(), //value from stringEdit Control
mappings,
attachFiles,
'' ,
true,
sysEmailTable.SenderAddr,
true);
}
Thanks
*This post is locked for comments
I have the same question (0)