EmailMessage emailMessage;
r = emailMessage.SetSubject(L"Subject!!!");
r = emailMessage.SetText(L"Hello, World");
- r = emailMessage.AddAttachment(L"/Home/Res/testfile.dat");
+ r = emailMessage.AddAttachment(L"/opt/usr/media/testfile.dat");
// Sends the message, and sets the @c saveToSentbox parameter to true if the message should be saved in the Sentbox; otherwise, set to false.
// EmailListener callback is called once the message is completely sent.
MmsMessage mmsMessage;
r = mmsMessage.SetSubject(L"Subject!!!");
r = mmsMessage.SetText(L"Hello, World");
- r = mmsMessage.AddAttachment(MMS_IMAGE, L"/Home/Res/image.jpg");
- r = mmsMessage.AddAttachment(MMS_IMAGE, L"/Home/Res/audio.wav");
+ r = mmsMessage.AddAttachment(MMS_IMAGE, L"/opt/usr/media/image.jpg");
+ r = mmsMessage.AddAttachment(MMS_AUDIO, L"/opt/usr/media/audio.wav");
// Sends the message, and set the saveToSentbox parameter to true if the message should be saved in the Sentbox; otherwise, set to false.
// MmsListener callback is called once the message has been completely sent.