Code is given below:
QMessage msg; msg.setType(QMessage::Email); // Set recipient for our email message // Define message subject, body and append attachment msg.setSubject("How are you "); msg.setBody("Hiiiiiiiiiii");
// QStringList attachments;
msg.appendAttachments(QStringList("/home/user/MyDocs/.images/viral.png")); QMessageService service; service.compose(msg);@
- I am saving image ..its working
- I have to attach that image ,for that code is written,email is also opening in my phone default mailbox but with no attachments??????
Do you get any output on the debug/console ?
what do you mean by phone default mailbox ? which phone ?
[quote author="digitalsurgeon" date="1294214498"]Do you get any output on the debug/console ?
what do you mean by phone default mailbox ? which phone ?[/quote]
i have nokia N900 ....default means the default email accout created on my mobile phone to reterive mails on phone...