(1) The server cannot send mail using SMTP
Workaround: Many sites listed the solution is because of the SMTP case, although the nature of the problem is not here, but do need to change this place, as for why, look at the following operation.
In class.phpmailer.php, you will:
function Issmtp () {$this->mailer= ' SMTP '
:
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
Reprint Please specify source: http://blog.csdn.net/qq_26525215This article is from the "university trip _ Remember the blog"
Introduction to e-mail protocol:Mail server, according to the type of service provided, can be divided into the server that sends the mail to the server I receive the mail.The server sending the mail uses the Send protocol, which is n
SMTP service program (if you don't know what that is, it is not recommended to use this method) Or use an existing SMTP server.
"If a server is not running now, how do I use it?" You may have to ask. If your computer is connected to the Internet via a dial-up connection (or DSL or cable), you can use your ISP's outgoing mail
Before doing a project to do a phpmailer to send mail with the function of "CI framework combined with phpmailer send mail", yesterday step on the line (just start with Sina cloud, too expensive, replaced by Ali), the test, send an email unexpectedly error ....
I wipe, not on-line time good, the second success, just started I thought is the SMTP address problem
: This article mainly introduces two methods for sending mails by php using smtp. For more information about php tutorials, see. Original article: http://www.jbxue.com/php/25502.html
This article introduces two methods for sending mails in php: sending mails using the built-in mail () function in PHP and sending mails using the mail class that encapsulates the
Problem Description:So, there are 2 old users, [email protected] and [email protected].Now delete Wangdong This user, add an SMTP address to Wang's user: [email protected], then I use the Outlook client to create a new message, enter [email protected], Outlook client automatically resolves me to a Chinese name "Wang Dong", I can not modify, click to send the message, return the letter error: imceaex-_o=first+20organization_ou=exchange+20administrative
SMTP service program (if you don't know what that is, it is not recommended to use this method) Or use an existing SMTP server.
"If a server is not running now, how do I use it?" You may have to ask. If your computer is connected to the Internet via a dial-up connection (or DSL or cable), you can use your ISP's outgoing mail
DescriptionLinux's own mail can implement external SMTP mail. There is no need to configure the Postfix,sendmail mail server locally, it does take a bit of time to configure the package.
Realize:1. Turn off the SendMail service or postfix service of this machine
The code is as follows
Copy Code
Ecshop implements smtp mail and ecshopsmtp sends mail. Ecshop implements smtp mail sending. when ecshopsmtp sends mail using the ECShop smtp method, the statement in the get_data method
to send mail, the class is pear::mail.Code:Require_once ' mail.php ';
$conf [' mail '] = Array ( ' host ' => ' xx.xx.xx.xx ', //SMTP server address, you can use IP address or domain name ' auth ' => true, //true indicates that the SMTP server requires authentication, false code does not require ' username
at a time.
Sender-A string that will appear in the E-mail field.
Recipients-a string or array of strings representing the addresses of the recipients
Example:
Here's a simple way to use Ruby script to send an e-mail message. Let's try it once:
?
1 2 3 4 5 6 7 8 9 10 11 12 13-14
Require ' net/smtp ' message =
Here you have placed
When it comes to email, start by mentioning SMTP. 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 mail () function in PHP is very simple, but it also makes it impossible to use the popular SMTP server with verification function (gmail, 163,126, etc)Now, by configuring sendmail provided by XAMPP, PHP's mail () function can send emails normally. The following example uses smtp.126.com:1. Find the xampp/php. ini f
Php mail sending class (smtp or mail function)
This article introduces a class for sending email. you can use the smtp and mail functions to send emails. For more information, see.Php implements mail sending in two ways:
what it's all about, it's not recommended for you to use it) Or use an existing SMTP server.
"If a server isn't running now, how do I use it?" You might ask. If your computer is connected to the Internet via a dial-up connection (or DSL or cable), you can use your ISP's outgoing mail server. For example, if you develop a computer that is a Windows98 system and
Step 1: Download phpmailerfile package phpmailer-1.73.tar.gz from Open Source
Community : Http://phpmailer.sourceforge.net/
Step 2: Check whether your server system supports socket, for example, phpinfo ();
If you do not have this option, note that socket is an extension of PHP, and a configuration option for./configure -- enable-sockets must be given during compilation.
Step 3: extract the file to your web server directory and call the class. Note: The class is included first. phpmailer. PHP,
PHP uses SMTP class to send e-mail, PHPSMTP class e-mail
SMTP class Send mail method is simple and stable, a few lines of simple configuration can send e-mail, is not very looking forward to try it!
Here's the core code:
". $_pos
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.