[Closed] Mail With HTML Format



  • Hi all,

    i have problem to send a mail whit HTML content. i have see the sample and i have follow it for create the mail:

    @ QString testo;

          testo.append("<HTML CONTENT TEXT>");
    
    
          QMessageService* pMessageManager = new QMessageService(this);
          QMessage message;
          message.setType(QMessage::Email);
          message.setSubject(rist->value("NOME_RISTORANTE"));
          QString htmlBody("<html><head></head><body>%1</body></html>");
          message.setBody(htmlBody.arg(testo),"text/html");
    
          pMessageManager->compose(message);@
    

    what is my error? i can't found it....

    Regards



  • Closed. You also posted this "question":/forums/viewthread/15242/ in another topic. Please don't do that: one question, one topic.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.