[英]Can I send email to friends (say to gmail) from my local computer (IIS or Apache), if yes how?
I am planning to send email to my friends (they are in gmail and hotmail) from my local PC which I use at my home (in dynamic IP). 我正计划从我在家中使用的本地PC(以动态IP)向我的朋友(他们使用gmail和hotmail)发送电子邮件。 Is it ever possible to configure IIS or Apache in my local PC and connect to home broadband and can send email? 是否可以在本地PC中配置IIS或Apache并连接到家庭宽带并可以发送电子邮件?
I do not want to take any help from any other hosting company (as generally we do by using .Net or Php by taking SMTP address) so if need I can try to configure some website name to my PC (if possible). 我不想从任何其他托管公司那里获得任何帮助(通常,我们通常通过使用.Net或Php来获取SMTP地址),因此如果需要,我可以尝试为PC配置一些网站名称。
I do not need to get any reply from them they will send again to my gmail address. 我不需要他们的任何答复,他们会再次发送到我的Gmail地址。
Is it ever possible as my plan? 我的计划有可能吗?
This question may be of some help to you: How to send email from local machine to gmail? 这个问题可能对您有所帮助: 如何将电子邮件从本地计算机发送到gmail?
You should be able to run a .NET, PHP or other local web service on your home machine and use one of the libraries included in the link above to send e-mails without requiring a 3rd party web host. 您应该能够在家用计算机上运行.NET,PHP或其他本地Web服务,并使用上面链接中包含的库之一来发送电子邮件,而无需第三方Web主机。 Out of curiosity, what are you trying to accomplish exactly? 出于好奇,您到底想完成什么? There may be a simpler solution within gmail's API. gmail的API中可能有一个更简单的解决方案。
What you want is to build a SMTP Server! 您要构建一个SMTP服务器!
Things you will need 您需要的东西
A program/code that will implement the RFC2821 http://www.ietf.org/rfc/rfc2821.txt 将实现RFC2821的程序/代码http://www.ietf.org/rfc/rfc2821.txt
I have build a SMTP server that ONLY receive emails... maybe you can start from there.... 我建立了一个仅接收电子邮件的SMTP服务器...也许您可以从那里开始....
https://stackoverflow.com/questions/24834765/how-receive-emails-in-net-listening-connection-from-gmail-yahooo-not-a-pop https://stackoverflow.com/questions/24834765/how-receive-emails-in-net-listening-connection-from-gmail-yahooo-not-a-pop
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.