Dear all,

I have got the default email client to open (but, can't attach the file in windows) by using this.

QString l_string = QFileDialog::getOpenFileName(this,tr("Open File"), QDir::currentPath());

QDesktopServices:penUrl(QUrl("mailto:test@test.com?subject=test&bod y="+l_string+"&attach=" + l_string));

Thanks in advance.