to = "recipient@remote.net"; $mail->subject = "歡迎!"; $mail->body = "這是真正的電子郵件訊息, 當然...">
当前位置:Gxlcms > PHP教程 > 发现一个发送mime邮件的类2_PHP教程

发现一个发送mime邮件的类2_PHP教程

时间:2021-07-01 10:21:17 帮助过:20人阅读

from = "your@address.com"; $mail->to = "recipient@remote.net"; $mail->subject = "歡迎!"; $mail->body = "這是真正的電子郵件訊息, 當然....你可以寫成一行以上。"; # 加上附檔 $mail->add_attachment($data, $filename, $content_type); # 送出電子郵件 $mail->send(); */ ?> from = $myemail; $mail->to = $myemail; $mail->subject = "歡迎!"; $mail->body = "這是真正的電子郵件訊息, " . "當然....你可以寫成一行以上。"; # 加上附檔 $mail->add_attachment($data, $filename, $content_type); # 送出電子郵件 $mail->send(); echo "郵件已送出,請檢查您的信箱。"; } ?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531859.htmlTechArticlefrom = your@address.com; $mail->to = recipient@remote.net; $mail->subject = 歡迎!; $mail->body = 這是真正的電子郵件訊息, 當然....你可以寫成一行以上。;...

人气教程排行