AppendToLog

The AppendToLog method adds a string to the end of the mailing log. 

Syntax

Mailing.AppendToLog string

Parameters
string
The text to append to the log file. The text does not have to end with a CR LF.
Remarks

The log file is named log.txt and is located in the mailing project folder.
This method may be called from any eMill script context.

Example

Sub Mailing_OnMailStatus(Status)
    For Each sReceiver in Mail.Receivers
        Mailing.AppendToLog "Receiver: " & sReceiver & " Status Code: " & Status
    Next
End Sub

Applies To

Mailing Object



©2001-2015 eMill. All trademarks property of their owners.