如何从本地 WAMP 服务器发送电子邮件以发送电子邮件 Gmail Hotmail 等? [英] How to send email from localhost WAMP Server to send email Gmail Hotmail or so forth?

查看:38
本文介绍了如何从本地 WAMP 服务器发送电子邮件以发送电子邮件 Gmail Hotmail 等?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在查找有关如何从本地主机 WAMP 发送电子邮件的正确信息.以及如何获得授权从特定授权电子邮件地址发送电子邮件以发送任何其他电子邮件地址.

I'm finding to proper information about how to send email from localhost WAMP. And how to get authorize to send email from particular authorize email address to send any other email address.

如何配置这整个步骤向我解释了详细信息,我已经在这里访问了一些 Stack Overflow 的答案以及博客文章,但所有内容都非常混乱且陈旧,因此可能无法正常工作.所以我需要 Stack Overflow 用户的帮助.谢谢.

How to configure this whole step explain me details, I already visit here some Stack Overflow answer as well as blog post but all are very confusing and old dated so it's may be possible to not working. So i need Stack Overflow users help. Thank you.

推荐答案

localhost 配置一个有效的电子邮件客户端是一件很麻烦的事情,我花了好几个小时的时间来尝试它.我终于找到了这种发送邮件的方式(使用 WAMP、XAMPP 等):

Configuring a working email client from localhost is quite a chore, I have spent hours of frustration attempting it. At last I have found this way to send mails (using WAMP, XAMPP, etc.):

配置此 hMailServer 设置:

Configure this hMailServer setting:

  1. 打开 hMailServer 管理员.
  2. 点击添加域..."按钮创建一个新域.
  3. 在域文本字段下,输入您计算机的本地主机 IP.
    • 示例:127.0.0.1 是您的本地主机 IP.

配置您的 Gmail 帐户,进行以下修改:

Configure your Gmail account, perform following modification:

  1. 转到设置">协议">SMTP",然后选择电子邮件传送"选项卡.
  2. 在远程主机名字段中输入smtp.gmail.com".
  3. 输入465"作为端口号.
  4. 选中服务器需要身份验证".
  5. 在用户名字段中输入您的 Google Mail 地址.
  6. 在密码字段中输入您的 Google Mail 密码.
  7. 勾选使用 SSL"
  8. 保存所有更改.

<小时>

可选

如果您想从另一台计算机发送电子邮件,您需要通过以下步骤允许从外部帐户发送到外部帐户:


Optional

If you want to send email from another computer you need to allow deliveries from External to External accounts by following steps:

  1. 转到设置 > 高级 > IP 范围,然后双击我的电脑"应该有 127.0.0.1 的 IP 地址
  2. 选中允许从外部到外部帐户的交付复选框.
  3. 使用保存"按钮保存设置.

这篇关于如何从本地 WAMP 服务器发送电子邮件以发送电子邮件 Gmail Hotmail 等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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