Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

create a msg file straightaway

$
0
0

Hi there,

Is it possible to create a msg file straightaway with message information and attachments via Aspose.Email?

for example:

setTo("recp1");  //more than two recps

setTo("recp2");

setTo("recp3");

setCc("recp"); // more than two recp

setBcc("recp");

setFrm("sender");

setSubj("subject");

setBody("htmle message"); 

 

addattach("attachment1.doc");  //more than two attachments

addattach("attachment2.pdf");

addattach("attachment3.xls");

addattach("attachment.msg");

 

saveasMsg("c:\sample.msg");  //save as a msg file straightaway without retrieving message from email server


Viewing all articles
Browse latest Browse all 1367

Trending Articles