SendMailing

Sends a mailing based on MailingStruct by creating a row in the inmail_ table. The message is then subject to list processing and validation as if it were a mailing created by an administrator through the administrator GUI. If SegmentID is blank or 0, the mailing is sent to the entire list as defined in MailngStruct. If successful, returns the InMailID of new mailing.

  

Arguments

SegmentID - The ID of the segment to be sent to. Sends to the entire list if blank or null (int)

MailingStruct - The contents of the mailing as a MailingStruct

 

Returns

The InmailID of the inmail created if successful (int)



SelectContent SendMailingDirect