Home > Back-end >  NMSMTP send HTML mail the text?
NMSMTP send HTML mail the text?

Time:09-29

C + + builder NMSMTP using the component send mail, email body is web form (HTML) to send, how to write a program? Help!!!!!!

CodePudding user response:

Set the TNMSMTP subtype attribute to mtHTML.

CodePudding user response:

The agree, how to write a program NMSMTP - & gt; PostMessageA - & gt; The Body... Or in the same manner as the add attachments?

CodePudding user response:

You need to set up PostMessage some key properties, such as
FromAdress
FromName
The Subject
ToAdress
Attachments
The Body
The Attachments above is a list, you can add multiple Attachments (file content may require the Base code, such as picture)

CodePudding user response:

Demon elder brother, I am now doing a put a word added to the content of the text displayed, do not need to send the attachment please help

CodePudding user response:

reference 4 floor qq1132770390 response:
demon elder brother, I am now doing a add a word's content to display email body, do not need to send attachments please help


What's in WORD document? The rich text illustrated?

CodePudding user response:


To form resume, (online have said it in HTML form send don't quite understand, demon elder brother, what can you see?
  • Related