简体   繁体   English

如何使用本地安装的我自己的电子邮件服务器发送电子邮件

[英]How to send emails with my own email server installed locally

I have installed my mail enabled professional copy on the same server as php is installed (and wordpress) and I want to use the mail server when people enter emails forms etc. 我已将启用邮件的专业副本与安装php(和wordpress)的服务器安装在同一台服务器上,当人们输入电子邮件表单等时,我想使用邮件服务器。

I started with looking on simple email scripts but they all have failed and I have been googling for at least 8-9 hours on different solutions on scripts with sendmail, scripts using gmail, and lots of options that almost all require PEAR or some other solution - and I have thrown in the towel before I start tearing my hair out in frustration.. 我从研究简单的电子邮件脚本开始,但是它们都失败了,并且我在使用sendmail的脚本,使用gmail的脚本以及几乎所有都需要PEAR或其他解决方案的许多选项上针对不同的解决方案进行了至少8-9个小时的谷歌搜索-在开始沮丧地撕头发之前,我已经把毛巾扔了。

So Now I want to go with this option as it's simpler for me and I do already own a license to mail enable. 现在,我想使用此选项,因为它对我来说比较简单,而且我已经拥有启用邮件的许可证。

How can I accomplish this? 我该怎么做?

I have the newest version of php available... Server is a Windows server 2003 ENT with IIS 6 installed and MySQL server/wordpress. 我有可用的最新版本的php ...服务器是Windows Server 2003 ENT,安装了IIS 6和MySQL服务器/ wordpress。

I am not a programmer - just a "normal" guy.. I know to get around with computers - most of the time - but coding Is like greek to me! 我不是程序员-只是一个“普通”的家伙。.我知道大部分时间都在与计算机打交道-但是编码对我来说就像希腊语! (Which in this case might be my Achilles heel) (在这种情况下,可能是我的致命弱点)

Try using PHPMailer or SwiftMailer. 尝试使用PHPMailer或SwiftMailer。

These libraries make it trivial to configure your mail server to send emails with. 这些库使配置邮件服务器发送电子邮件变得很简单。

Mailenable should provide you with a smtp server and credentials. Mailenable应该为您提供一个smtp服务器和凭据。

Here's an example with phpmailer : http://phpmailer.worxware.com/index.php?pg=examplebsmtp 这是phpmailer的示例: http ://phpmailer.worxware.com/index.php?pg= examplebsmtp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何在自己的服务器上创建电子邮件帐户并使用PHP接收到该帐户的电子邮件? - How may i create Email accounts on my own server and receive emails to that account using PHP? 如何配置服务器以发送电子邮件,IIS Windows Server 2008上安装了PHP - How can I configure my server to send email, PHP installed on IIS Windows Server 2008 从我自己的服务器发送带有codeigniter(配置)的电子邮件 - Send Email with codeigniter(configuration) from my own server 从我自己的服务器电子邮件地址(如manoj@manoj.com)检索电子邮件 - retrive the emails from my own server email address like manoj@manoj.com 我正在使用gmail服务器在我的xampp lite服务器上发送电子邮件,但我没有收到任何电子邮件 - I'm using gmail server to send email in my xampp lite server, but i'm not recieving any emails 如何在没有安装SMTP服务器的情况下从PHP发送邮件? - How to send email from PHP without SMTP server installed? 电子邮件未发送到我的服务器中 - Email is not send in my server 无法将电子邮件发送到我自己的域 - Can't send email to my own domain 如何将AJAX回调发送到我自己的服务器/ php文件 - How to send AJAX callback to my own server/php file 如何使用php将表单发送到自己的电子邮件? - How to send a form to own email using php?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM