Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Closed] Mail With HTML Format
Forum Updated to NodeBB v4.3 + New Features

[Closed] Mail With HTML Format

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vetryaspa
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved