...
timeDateSending | sendDelayTest | Scheduled sending date in MailUp |
value <= current date (Immediate sending) | sendDelayTest > 0 | current date + sendDelayTest |
value <= current date (Immediate sending) | sendDelayTest <= 0 | current date + fixed value in MailUp |
value > current date (Scheduled sending) | sendDelayTest > 0 | timeDateSending |
value > current date (Scheduled sending) | sendDelayTest <= 0 | timeDateSending |
The method returns
- the ID of the sending
- -1 in case the operation is not completed successfully (e.g. due to incorrect parameters or system failure).
...