用php发送邮件 [英] Sending mail with php

查看:67
本文介绍了用php发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

php mail ...我之前做过这个年龄但是我遇到了问题。

php mail... I did this ages before but I''m having problems with it.

展开 | 选择 | 换行 | 行号

推荐答案

from应进入第4个参数(也称为标题)。

[PHP]<?php

// ---开始邮件脚本---
The from should go into the 4th parameter (also called the header).
[PHP]<?php
//--- Start mail script ---


to =" address@gmail.com" ;;
to = "address@gmail.com";


from =" address@gmail.com" ;;
from = "address@gmail.com";


这篇关于用php发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆