public function sendEmail($dest, $subject, $html, $text)
    {
        $mail = [
            'Destination'           => $this->buildDestination($dest),
            //'FromArn' => '<string>',
            'Message' => [ // REQUIRED
                'Body' => [ // REQUIRED
                    'Html' => ['Charset' => $this->charset,'Data' => $html],
                    'Text' => ['Charset' => $this->charset,'Data' => $text],
                ],
                'Subject' => ['Charset' => $this->charset,'Data' => $subject],
            ],
            //'ReplyToAddresses' => [],
            //'ReturnPath' => '',
            //'ReturnPathArn' => '<string>',
            'Source'                => $this->from, // REQUIRED
            //'SourceArn' => '<string>',
        ];
        
        if ($this->tags)
            $mail['Tags'] = $this->buildTags();
            
        return $this->invokeMethod("sendEmail", $mail, true);
        
    }
public function sendEmail($dest, $subject, $html, $text)
    {
        $mail = [
            'Destination'           => $this->buildDestination($dest),
            //'FromArn' => '<string>',
            'Message' => [ // REQUIRED
                'Body' => [ // REQUIRED
                    'Html' => ['Charset' => $this->charset,'Data' => $html],
                    'Text' => ['Charset' => $this->charset,'Data' => $text],
                ],
                'Subject' => ['Charset' => $this->charset,'Data' => $subject],
            ],
            //'ReplyToAddresses' => [],
            //'ReturnPath' => '',
            //'ReturnPathArn' => '<string>',
            'Source'                => $this->from, // REQUIRED
            //'SourceArn' => '<string>',
        ];
        
        if ($this->tags)
            $mail['Tags'] = $this->buildTags();
            
        return $this->invokeMethod("sendEmail", $mail, true);
        
    }
public function sendEmail ( $ dest , $ subject , $ html , $ text ) { $ mail = [ 'Destination' => $ this -> buildDestination ( $ dest ) , //'FromArn' => '<string>',
 'Message' => [ // REQUIRED
 'Body' => [ // REQUIRED
 'Html' => [ 'Charset' => $ this -> charset , 'Data' => $ html ] , 'Text' => [ 'Charset' => $ this -> charset , 'Data' => $ text ] , ] , 'Subject' => [ 'Charset' => $ this -> charset , 'Data' => $ subject ] , ] , //'ReplyToAddresses' => [],
 //'ReturnPath' => '',
 //'ReturnPathArn' => '<string>',
 'Source' => $ this -> from , // REQUIRED
 //'SourceArn' => '<string>',
 ] ; if ( $ this -> tags ) $ mail [ 'Tags' ] = $ this -> buildTags ( ) ; return $ this -> invokeMethod ( "sendEmail" , $ mail , true ) ; }
Send simple formatted email. No attachments.

@param array $dest destinations as a simple array or associative in the form:
['to' => [email1, email2, ...], 'cc' => [ etc..], bcc => [etc...]]
@param string $subject email subject
@param string $html email in HTML format
@param string $text email in text format
@return mixed Aws\Result (or Promise for async version)
@throws AwsException
Send simple formatted email . No attachments .