Parallels
Worldwide
Contact
My Account
Subscribe
About Us
Home
News & Events
Solutions
Products
Partners
Community
Download
Support
Shop
Awards and Reviews
Events and Seminars
Media Highlights
Press Releases
Webcasts
Videos
Media and Analyst Contacts
Logos and Artwork
Partner Programs
Partner Locator
Become a Partner
PartnerNet Log-In
Parallels Forums
Parallels Technology Network
Parallels Community Blogs
Parallels Desktop for Mac
Parallels Server for Mac
Parallels Server
Parallels Workstation
Parallels Virtuozzo Containers
Parallels Plesk Control Panel
Parallels Plesk Expand
Parallels Plesk Sitebuilder
Parallels Pro Control Panel
Parallels H-Sphere
Parallels Helm
Parallels Business Automation
Parallels Sphera solution
Language Packs
Desktop/Workstation Support
Server Products Support
Technical Training
Buy Parallels Desktop Products
Buy Parallels Server
Buy Parallels Plesk Products
Buy Parallels Pro Control Panel
Buy Parallels Helm
Buy Parallels H-Sphere
Buy Support & Services (Server Products)
My Cart
Lease Terms
License Agreement
For Home
For Business
For Hosters
For SaaS
For Developers
Desktop Virtualization
- Parallels Desktop for Mac
- Parallels Workstation
Server Virtualization
- Parallels Server
- Parallels Server for Mac
- Parallels Virtuozzo Containers
- Parallels Infrastructure Manager
Automation
- Parallels System Automation
- Parallels Business Automation
- Parallels Plesk Products
More Products
English
Chinese
French
German
Italian
Japanese
Russian
Spanish
Optimized Computing
Leadership Team
Board and Advisors
Investment Partners
Careers - Now Hiring!
Contact Us
Logos and Artwork
Feedback
License Agreement
Licensing
Terms of Use
Privacy Policy
Knowledgebase
Parallels Desktop/Workstation products
Parallels Desktop
Parallels Workstation
Parallels Transporter
Parallels Virtuozzo Containers
Parallels Virtuozzo Containers for Linux
Parallels Virtuozzo Containers for Windows
Parallels Virtuozzo Containers Tools
Parallels Plesk Products
Parallels Plesk Control Panel for Linux/Unix
Parallels Plesk Control Panel for Windows
Parallels Plesk Expand
Parallels Plesk Sitebuilder for Linux/Unix
Parallels Plesk Sitebuilder for Windows
Parallels Automation
Parallels Business Automation - Standard
Parallels Operations Automation
Parallels Business Automation - Enterprise
More Products
Parallels Confixx
Parallels Pro Control Panel Linux
Parallels Pro Control Panel Windows
Parallels H-Sphere
Parallels SiteStudio
Parallels Sphera
Parallels Helm
Parallels Technology Network
Subscriptions
RSS feeds
Search the knowledgebase
Search
Product:
All products
Confixx Professional 3
Parallels Business Automation - Standard
• Parallels Business Automation - Standard 3.2.x
• Parallels Business Automation - Standard 3.3.x
Parallels Operations Automation
• Parallels Operations Automation 2.6
Parallels Plesk Panel
• Parallels Plesk Expand
•• Expand 1.x
•• Expand 2.x
• Parallels Plesk for Linux/Unix
•• Plesk 8.x for Linux/Unix
••• Plesk 8.0.x for Linux/Unix
•••• Plesk 8.0.0 for Linux/Unix
•••• Plesk 8.0.1 for Linux/Unix
••• Plesk 8.1.x for Linux/Unix
•••• Plesk 8.1.0 for Linux/Unix
•••• Plesk 8.1.1 for Linux/Unix
••• Plesk 8.2.x for Linux/Unix
•••• Plesk 8.2.0 for Linux/Unix
•••• Plesk 8.2.1 for Linux/Unix
••• Plesk 8.3.x for Linux/Unix
•••• Plesk 8.3.0 for Linux/Unix
••• Plesk 8.4.x for Linux/Unix
•••• Plesk 8.4.0 for Linux/Unix
••• Plesk 8.6.x for Linux/Unix
•••• Plesk 8.6.0 for Linux/Unix
•• Plesk 5.x
•• Plesk 6.x
•• Plesk 7.0.x
•• Plesk 7.1.x Reloaded
•• Plesk 7.5.x Reloaded
••• Plesk 7.5.4 Reloaded
•• Plesk 9.x for Linux/Unix
••• Plesk 9.0 for Linux/Unix
• Parallels Plesk for Windows
•• Plesk 8.1.0 for Windows
•• Plesk 8.1.1 for Windows
••• Plesk 8.1.1.2 for Windows
•• Plesk 8.1 for Windows
•• Plesk 8.2 for Windows
•• Plesk 8.2.0 for Windows
••• Plesk 8.2.0.1 for Windows
•• Plesk 8.3 for Windows
•• Plesk 8.x for Windows
••• Plesk 8.4 for Windows
••• Plesk 8.6 for Windows
••• Plesk 8.6 for Windows
•• Plesk 6.5 for Windows
•• Plesk 7 for Windows
•• Plesk 7.5.x for Windows
•• Plesk 7.5.6 for Windows
•• Plesk 7.5.5 for Windows
•• Plesk 7.6.x for Windows
•• Plesk 7.6.1 for Windows
•• Plesk 9.x for Windows
••• Plesk 9.0 for Windows
Parallels Plesk Sitebuilder
• Parallels Plesk Sitebuilder for Linux/Unix
•• Sitebuilder 4.0 for Linux/Unix
•• Sitebuilder 4.1 for Linux/Unix
•• Sitebuilder 4.2 for Linux/Unix
•• Sitebuilder 4.x for Linux/Unix
•• Sitebuilder 1.1.0 for Linux/Unix
•• Sitebuilder 1.1.1 for Linux/Unix
•• Sitebuilder 2.x for Linux/Unix
•• Sitebuilder 3.x for Linux/Unix
•• Sitebuilder 4.5 for Linux/Unix
• Parallels Plesk Sitebuilder for Windows
•• Sitebuilder 4.0 for Windows
•• Sitebuilder 4.1 for Windows
•• Sitebuilder 4.2 for Windows
•• Sitebuilder 4.x for Windows
•• Sitebuilder 1.2 for Windows
•• Sitebuilder 2.0.5 for Windows
•• Sitebuilder 3.x for Windows
Parallels Virtuozzo Containers
• Parallels Virtuozzo Containers Tools
• Parallels Virtuozzo Containers for Linux
•• Virtuozzo for Linux 3.x
•• Virtuozzo Containers for Linux 4.x
• Parallels Virtuozzo Containers for Windows
•• Virtuozzo Containers for Windows 4.0
•• Virtuozzo for Windows 3.5.1
•• Virtuozzo for Windows 3.5.1 SP1
Parallels Pro Control Panel
• Parallels Pro Control Panel Linux
•• Parallels Pro Control Panel Linux 10.3.0
• Parallels Pro Control Panel Windows
H-Sphere
SiteStudio
Parallels Business Automation - Enterprise
• Parallels Business Automation - Enterprise, 4.1
• Parallels Business Automation - Enterprise, 4.2
• Parallels Business Automation - Enterprise, 4.3.3
• Parallels Business Automation - Enterprise, 4.4
Parallels Infrastructure Manager
• Parallels Infrastructure Manager 4.0
Parallels Sphera
Helm
• Helm 3
• Helm 4
Parallels Desktop/Workstation Products
• Parallels Technology Network
• Parallels Transporter
• Parallels Image Tool
• Parallels Customer Service
• Parallels Desktop for Mac
•• Parallels Desktop for Mac 2.x
•• Parallels Desktop for Mac 3.x
•• Parallels Desktop for Mac 4.x
• Parallels Sales Service
• Parallels Explorer
• UNSORTED
• Parallels Compressor
• Parallels Workstation for Windows and Linux
•• Parallels Workstation 2.x
Parallels ModernBill
Parallels Server Products
• Parallels Server for Mac
• Parallels Server for Linux
Search Type:
Everywhere
Article ID
How to use the MS SMTP server to relay mail using the php mail function?
Article ID: 2458
Last Review: Oct,6 2008
Author:
Last updated by:
system
APPLIES TO:
Parallels Pro Control Panel Windows
Additional information
View Knowledge
Knowledge ID
1226
Product :
WEBppliance for Windows
Version :
3.0
Topic :
FAQ
Title
How to use the MS SMTP server to relay mail using the php mail function?
Summary
How to use the MS SMTP server to relay mail using the php mail function?
Prevention
Details
To use the MS SMTP server to relay mail using the php mail function make the following configuration changes,
1) Edit php.ini and set the SMTP host as localhost.
[Mail Function]
SMTP = 127.0.0.1
2) Edit the IIS SMTP properties,
Go to the Access tab -> Relay restrictions, Relay.
Select "Only the list below"
Click Add.
Under Single computer add 127.0.0.1.
Restart IIS.
3)Test using the following sample script,
<?php
mail("myemail@example.com", "My Subject", "It Works!!");
?>
Attachments
Related Knowledge
Related Links
Last Modified
Usage
Satisfied
Last Used
9/14/2004 3:59:36 PM
16
10/11/2007 10:49:09 PM
Subscription for this article changes
RSS feed for this article changes
Please provide feedback on this article
Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
Strongly Agree
Strongly Disagree
9
8
7
6
5
4
3
2
1
The article is easy to understand
The article is accurate
Additional Comments:
*
Please provide us with your email address in case we need to contact you.
*
- required fields