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

查看:668
本文介绍了如何发送电子邮件从本地主机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 Administrator。

  2. 点击添加域...按钮创建一个新的域。

  3. 在域文本字段下输入计算机的localhost 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密码。 / li>
  7. 勾选使用SSL

  8. 保存所有更改。

  1. Go to Settings > Protocols > SMTP and select "Delivery of Email" tab.
  2. Enter "smtp.gmail.com" in the Remote Host name field.
  3. Enter "465" as the port number.
  4. Check "Server requires authentication".
  5. Enter your Google Mail address in the Username field.
  6. Enter your Google Mail password in the password field.
  7. Check mark "Use SSL"
  8. Save all changes.






可选



如果要从另一台电脑发送电子邮件通过以下步骤允许从外部帐户到外部帐户的交付:


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天全站免登陆