I guess you need to do what the message tells you, add a e-mail account on
your phone to be able to send e-mails.

BR Anders

On 17 August 2010 14:09, Paul Drummond <[email protected]> wrote:

> 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
>
>


-- 
Anders Tidbeck
Phone: +46706027467
E-mail: [email protected]
Web: www.sintech.se

Software Architect
Sindarin Technologies AB
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to