Name | SMTPit_SetBodyHeader |
---|
Description | This unique function will allow you to have a “Header” section in the Plain Text or HTML Body of your email message. Possible uses are email letterheads or personalized email messages for mass emailing. SMTPit Pro also lets you to set a Default Header in the Configuration Dialog. If you assign a Plain Text or HTML Header using SMTPit_SetBodyHeader, SMTPit Pro will ignore the Default Header.
|
---|
Return Type | Text |
---|
Format | SMTPit_SetBodyHeader ( Content ; Type ; SMTPit_Append ) |
---|
Required Parameters | Content The Plain Text content for the email Header.
|
---|
Optional Parameters | - Type
The Content Type; specify “Text” or “HTML”. (Default is “Text”.)
- SMTPit_Append
Leave this in to add this Text or HTML to the end of the current Header.
|
---|
Examples | - Example 1
Sets the text header to "Dear", the name in the "Contact Name" field, and two returns. SMTPit_SetBodyHeader( "Dear " & Contact Name & "¶¶" )
- Example 2
Appends the text "Additional Header Text" to the Text Header. SMTPit_SetBodyHeader( "Additional Header Text" ; "Text" ; SMTPit_Append )
- Example 3
Sets the HTML header to "Dear" and the the name in the "Contact Name" field. SMTPit_SetBodyHeader( "<p>Dear " & Contact Name & ",</p>" ; "HTML" )
- Example 4
Appends "Dear" and the the name in the "Contact Name" field to the html header. SMTPit_SetBodyHeader( "<p>Dear " & Contact Name & ",</p>" ; "HTML" ; SMTPit_Append )
|
---|