From last many days, I was trying to send mail from my application, FAILED all the time. I am giving here full information regarding the issue. If anyone had face this kind of issue please reply me.
QString body("This is to test");
body.replace(QLatin1Char('\n'),QLatin1String( "\r\n" )).remove( QLatin1String("\r\r" ));
QByteArray encoded = "mailto:"
+ QUrl::toPercentEncoding( "email@example.com" )
+ "&subject=" + QUrl::toPercentEncoding("Playing with it")
+ "&body=" +QUrl::toPercentEncoding(body) ;
QDesktopServices::openUrl( QUrl::fromEncoded( encoded ) );
QT += core gui network
CONFIG += mobility
MOBILITY = messaging
TARGET.UID3 = 0xe6dafc9d
TARGET.CAPABILITY += UserEnvironment NetworkServices LocalServices Location ReadUserData ReadDeviceData WriteUserData WriteDeviceData
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
Nokia E7-00 (Without SIM Card, with Wi-Fi)
After building the App. I sent this file for Singing to Open Signed Online (Symbian). Here is the link
Then I get singed sis file and when I install this file on my device (E7) both way to invoke default client not works.
Is this device issues? OR
Am I missing some signing related things? OR
Any other issue ?
I have configured 2 mailboxes "Gmail" and "Yahoo Mail"
Note: If I load local Html file in Browser with hyperlink which contains "mailto...." then default mail client works. See this code
Please let me know if something is not clear....