You are here: Function Reference > Mailings Functions > ScheduleMailing

ScheduleMailing

 

Schedules a mailing for a future date based on MailingStruct. The message is then subject to list processing and validation as if it were a mailing created by an administrator through the administrator interface. If SegmentID is blank or 0, the mailing is sent to the entire list as defined in MailngStruct. If successful, returns the InMail ID of the new mailing.

 

Arguments

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

SendDate - The date and time the mailing should be sent (datetime)

MailingStructIn - A MailingStruct

 

Returns

Mailing ID of the scheduled mailing

  

Return Data Type

int

 

Access Rights (learn more)

 

List Site Server Listname Required

x

x x x

 

Version  

ListManager 8.1



MailingStatus SQLSelect