Sorry I forgot to mention that I already have a mailbox, of course.

Even if I go follow the instructions and create a mailbox the next time I
run the app, it still says: "No Mailbox defined. Create one now?".

On 17 August 2010 13:34, Anders Tidbeck <[email protected]> wrote:

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


-- 
Iode Software Ltd, registered in England No. 6299803.

Registered Office Address: 12 Sancroft Drive, Houghton-le-Spring, Tyne &
Wear, DH5 8NE

This message is intended only for the use of the person(s) ("the intended
recipient(s)") to whom it is addressed. It may contain information which is
privileged and confidential within the meaning of applicable law. If you are
not the intended recipient, please contact the sender as soon as possible.
The views expressed in this communication may not necessarily be the views
held by The Company.
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to