A complete SMTP class of PHP (solve the problem when the mail server requires verification), read a complete SMTP class of PHP (solve the problem when the mail server requires verification), smtp. php? Phpclasssmtp {/* PublicVariables */var $ smtp_port; var $ time_out; var $
Smtp. php? Phpclasssmtp {* PublicVariables * var $ smtp_port; var $ time_out; var $ host_name; var $ log_file; var $ relay_host; var $ debug; var $ auth; var $ user; var $ pass; * PrivateVariables * var $ sock; * Constractor * functionsmtp ($ relay_h SMTP email server
Smtp. php
Class
Experimental environment:
Servers: NT server, IIS40, SMTP server (ip=10.1.3.120)
Client: Win98,outlook express,ie4 (ip=10.1.3.123)
Network: Intranet, with one IP (202.98.35.55) line connected to the Internet through a gateway (router)
First, send e-mail to the Internet
1. In asp:
No settings changes have been made to SMTP
following uses the user of tom.com as an example.
*/
Require ("SM. php ");
######################################## ##
$ Smtpserver = "smtp.tom.com"; // SMTP Server
$ Smtpserverport = 25; // SMTP server port
$ Smtpusermail = "someone@tom.com"; // user email address of the
Manager is-to-right click "My Computer" and choose "Manage", another-by IS open ' Control Panel ' go to ' program and Features ' and select ' Turn Windows Features on or off '. A third-to-open it is "Server Manager" option under Administrative Tools.Under Features, select Add RolesCheck the check box off next to "SMTP Server"IIS would figure out what else it nee
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" Sett
Each large mailbox SMTP server and port collection:> Sina mailbox SMTP serverOutgoing servers: smtp.vip.sina.comPickup Server: pop3.vip.sina.comSina free MailOutgoing servers: smtp.sina.com.cnPickup Server: pop3.sina.com.cn>163 m
Even though Serv-U was used as an FTP server, it seems that no one was passing files at the time, so I didn't care about it. Later, I accidentally opened the "System Log" and found many error logs that could not be sent by emails. Open the mailroot directory and find that nearly 10000 emails are accumulated under the queue, and the number of emails increases and decreases. So I realized that some outsiders sent spam on the
Solution to prompt "Mailbox unavailable" when sending an email via the local iis smtp Server
The error message is as follows:Email is unavailable. Server Response: 5.7.1 unable to relay for *** @ gmail.com
The solution is as follows:In IIS, right-click "Default SMTP virtua
accidentally discovered the hmailserver. hmailserver is a mail server running only in windows. First, the hmailserver is very small, and the latest version of 5.3.2 is only 3 M, however, hmailserver provides many functions, POP3, SMTP, IMAP service, multi-domain name, alias, SSL support, anti-virus, anti-spam, built-in backup function, script support, Server rul
AsianuxServer4.0 delivers postage for the server version, free of charge -- Linux Enterprise Application-Linux server application information. For more information, see the following. Delivery fee, free cd
Linux-Asianux Server 4.0 test disk (x86 64-bit)
Http://item.taobao.co
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.