如何发送邮件使用PHP在ActionScript 3?发送邮件、PHP、ActionScript

由网友(你爱我要用心)分享简介:我发现在互联网上关于我的问题很多样,但我只是想发只是一个消息/文并了解PHP和AS3之间的连接。I've found many samples on the internet regarding my question, but I simply want to send just a message/text an...

我发现在互联网上关于我的问题很多样,但我只是想发只是一个消息/文并了解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.

阅读全文

相关推荐

最新文章