Form to Email - Xampp,PHP,Javascript,MAC OS [英] Form to Email - Xampp, PHP, Javascript, MAC OS

查看:77
本文介绍了Form to Email - Xampp,PHP,Javascript,MAC OS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何测试联系我们页面,其中包含邮件功能的表单输入,action =send.php?我在Mac OS El capitan上使用Xamppp。在Gmail收件箱中收不到邮件! 您可以使用 PHPMailer 类与SMTP。



请访问 PHPMailer SMTP示例



您可以使用Gmail SMTP服务器。



通过这种方式,您不必在OSX / Windows上设置邮件服务器。


How to test "Contact us" page that takes form input, action = "send.php" which consists of mail function? I am using Xampp on Mac OS El capitan. No mail is received in the gmail inbox!

解决方案

You can use PHPMailer class with SMTP.

Please visit PHPMailer SMTP Example

You can use Gmail SMTP server.

In this way you don't have to setup Mail Server on your OSX/Windows.

这篇关于Form to Email - Xampp,PHP,Javascript,MAC OS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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