Maison >développement back-end >tutoriel php >网上找到的两个PHP发送邮件的例子,很不错,贴出来给初学者参考吧不知道是否有兄弟曾贴过,呵呵1_PHP教程
Send Mail in PHP In this example, we will show how to send an email message to someone in PHP. PHP Code:
"; mail ("karn@nucleus.com", "Subject", "Hello!"); echo "Sending mail..."; echo "