如何发送邮件使用PHP在ActionScript 3? [英] How to send mail with PHP in ActionScript 3?
本文介绍了如何发送邮件使用PHP在ActionScript 3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现在互联网上关于我的问题很多样,但我只是想发只是一个消息/文并了解PHP和AS3之间的连接。
I've found many samples on the internet regarding my question, but I simply want to send just a message/text and understand the connection between PHP and AS3.
推荐答案
为了把尼古拉斯的回答有点简单,邮件()命令就是这样
To put Nicholas's answer a little more simply, the mail() command is just this
<?php
mail(
"email@website.com",
"This is the title, or subject",
"This is the body of the message",
"From: Emailer <email@website.com>"
);
?>
在某些情况下,你可能需要配置php.ini文件。
In some instances you may have to configure your PHP.ini file.
这篇关于如何发送邮件使用PHP在ActionScript 3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文