3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mail = new SaeMail(); //$mail->setAttach( array( 'my_photo' => '照片的二进制数据' ) ); //$ret = $mail->quickSend( '290417699@qq.com' , '邮件标题测试' , '邮件内容测试' , 'wordpressmaster@sina.com' , 'snihquk' ); //发送失败时输出错误码和错误信息 //if ($ret === false) // var_dump($mail->errno(), $mail->errmsg()); //$mail->clean(); // 重用此对象 $ret = $mail->quickSend('290417699@qq.com','邮件标题test','邮件内容test','wordpressmaster@sina.com','snihquk','smtp.sina.com',25,false); // 指定smtp和端口 //发送失败时输出错误码和错误信息 if ($ret == false) var_dump($mail->errno(), $mail->errmsg()); ?>
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SaeMail' not found in /in/KAkEC:2 Stack trace: #0 {main} thrown in /in/KAkEC on line 2
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Class 'SaeMail' not found in /in/KAkEC on line 2
Process exited with code 255.