Hi all,

I am trying to launch the native email compose screen on a Nokia 5th Edition
phones when I click on a button in my app.

Here's the code:

  QMessageService* msgService = new QMessageService(this);
  QMessage msg;
  msg.setType(QMessage::Email);
  msg.setTo(QMessageAddress(QMessageAddress::Email, "[email protected]"));
  msg.setSubject("Customer Feedback");
  bool result = msgService->compose(msg);
  qDebug() << "compose: " << result;

As far as I understand the API this should work but I when I run on the
device I always get the following error: "No Mailbox defined. Create one
now?"

Can anyone tell me if I am using the API incorrectly please?

Regards,
Paul Drummond
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to