In linux, when Google SMTP is used to send mail to maintain the server, a server error warning system is often required, and mail is a good way. In linux, mail is generally used to write emails, and the sendmail service is used by default for delivery. In this way, you can send messages to the outside world... in linux
Google Apps is indeed a powerful team collaboration tool. However, his verification of user mechanisms and mailbox settings more style, and for free users of the feedback is not convenient, so there are problems or to solve their own. This time we want to be able to use the SMTP protocol to host the mailbox on Google Apps as an automatic mail mailbox, but in the
different port. Click OK.
In the Delivery tab, click Advanced. By default, the "Fully qualified domain name" of the local server is listed. The smart host property can be left blank, depending on the Internet provider. You may need to contact your Internet provider to verify that you need a smart host. Otherwise you may not be able to enter SMTP. Emailprovider.com.
Note Note
box is displayed: enter the domain name, which must be the domain name of the mailbox on the Internet, or the part after the @ you sent the email. 5. Right-click "SMTP virtual server" and select "properties ", here, "access"-"relay restrictions" and "pass"-"advanced" Settings (the domain name is set to your own domain name, PS: Fully Qualified Domain Name, I used the local prefix, you can also skip this
From:http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ E4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=trueSMTP Server Setup (IIS 6.0)The Simple Mail Transfer Protocol (SMTP) service provided by IIS are a simple component for delivering outgoing e-mail mess Ages. Delivery of a message is initiated by transferring the message to a designate
What is the SMTP server?
The full name of SMTP is "Simple Mail Transfer Protocol", which is simply a message transfer protocol. It is a set of specifications for transmitting messages from the source address to the destination to control how the message is relayed. The SMTP protocol belongs to the TCP/IP protocol clus
is dedicated to routing all outgoing messages. After the smart host receives the message, it forwards the message to the remote domain. The goal of the smart host is to improve the performance of your Exchange Server. Instead of repeatedly contacting the remote domain until the connection is established, Exchange Server transmits only to the smart host.
. When you reach any limit, your Gmail account will be temporarily locked for one day. In short, the SMTP server of Gmail is very good for your personal use, but it is not suitable for Commercial batch mail.
Now, it's time to show you how to use Gmail's SMTP server in Linux.
Google
Set up an SMTP server under Linux and send mail using the Mail command fine-Solution steps:1.vi/etc/mail.rc
Append the following to the end:
set [emailprotected]// Default e-mail user email address set smtp=smtp.domain.com //Select the public mail domain name set [emailprotected]//default Outgoing mail u
service.
4. A dialog box is displayed:
Enter the domain name, which must be the mailbox domain name on the Internet of the server, which is also the part after the @ you sent the mail.
5. Right-click "SMTP virtual server" and select "properties ", here, "access"-"relay restrictions" and "pass"-"advanced" Settings (the domain name is set to your own doma
use an HTML compatible email viewer! "; Optional, comment out and test $mail-gt;msghtml ($body); $address = "whoto@otherdomain.com"; $mail-gt;addaddress ($address, "John Doe"); $mail-gt;addattachment ("Images/phpmailer.gif"); Attachment $mail-gt;addattachment ("Images/phpmailer_mini.gif"); Attachment if (! $mail-gt;send ()) { echo "Mailer Error:". $mail-gt;errorinfo; } else { echo "Message sent!"; }
According to the code given in this example, I encountered the following error
:
A viable configuration for the 1.IMail SMTP service.
2. Use System.Net.SmtpClient to send mail.
Feasible configuration of IMail SMTP service
The reason I pet the SMTP service is because it's the most annoying source of use for imail, many people have encountered the situation can not send mail, such as the erection of good, can not be issued, can not send,
The server is windowserver2008 and php needs to send emails, so the smtp mail server built by myself always has the 452 error outofmemory. Is it a memory problem? Is there any other way for a third party to build an smtp server like goog
! with an HTML; Optional, comment out and test$mail->msghtml ($body);$address = "whoto@otherdomain.com";$mail->addaddress ($address, "John Doe");$mail->addattachment ("Images/phpmailer.gif"); Attachment$mail->addattachment ("Images/phpmailer_mini.gif"); Attachmentif (! $mail->send ()) {echo "Mailer Error:". $mail->errorinfo;} else {echo "Message sent!";}
According to the code given in this example, I encountered the following error:
Www.111cn.net prompts you for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.