sailthru/Sailthru_Client.php
public function send($template, $email, $vars = [ ], $options = [ ], $schedule_time = null) {
        $post = [ ];
        $post['template'] = $template;
        $post['email'] = $email;
        $post['vars'] = $vars;
        $post['options'] = $options;
        if ($schedule_time) {
            $post['schedule_time'] = $schedule_time;
        }
        $result = $this->apiPost('send', $post);
        return $result;
    }
public function send($template, $email, $vars = [ ], $options = [ ], $schedule_time = null) {
        $post = [ ];
        $post['template'] = $template;
        $post['email'] = $email;
        $post['vars'] = $vars;
        $post['options'] = $options;
        if ($schedule_time) {
            $post['schedule_time'] = $schedule_time;
        }
        $result = $this->apiPost('send', $post);
        return $result;
    }
public function send ( $ template , $ email , $ vars = [ ] , $ options = [ ] , $ schedule_time = null ) { $ post = [ ] ; $ post [ 'template' ] = $ template ; $ post [ 'email' ] = $ email ; $ post [ 'vars' ] = $ vars ; $ post [ 'options' ] = $ options ; if ( $ schedule_time ) { $ post [ 'schedule_time' ] = $ schedule_time ; } $ result = $ this -> apiPost ( 'send' , $ post ) ; return $ result ; }
Remotely send an email template to a single email address.

If you pass the $schedule_time parameter, the send will be scheduled for a future time.

Options:
replyto: override Reply-To header
test: send as test email (subject line will be marked, will not count towards stats)

@param string $template
@param string $email
@param array $vars
@param array $options
@param string $schedule_time
@link http://docs.sailthru.com/api/send
@return array API result
Remotely send an email template to a single email address .