在联系表单中配置 Gmail SMTP


configuring gmail smtp in a contact form

这是我的Gmail SMTP联系表单的配置,

<Config>
        <smtp>
            <use>yes</use>
            <auth>no</auth>
            <secure>tls</secure>
            <host>smtp.gmail.com</host>
            <username>abc@gmail.com</username>
            <password>1234567</password>
            <port>465</port>
        </smtp>
        <charset>iso-8859-1</charset>
    </Config>

我已经尝试了一段时间,但我无法通过表格发送电子邮件,我可能做错了什么?

PS:我正在使用Super Ajax联系表,当然,我使用了我的真实电子邮件/密码。

auth应设置为 yes 。请参阅此处的示例:http://www.globushotel.com/form/help.html