Configure smtp virtual server - IIS6, php5.2.x, win2003Serve

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
khalidmehmoodawan
Forum Newbie
Posts: 13
Joined: Thu Oct 23, 2008 3:19 am

Configure smtp virtual server - IIS6, php5.2.x, win2003Serve

Post by khalidmehmoodawan »

Hi,

I have a win 2003 server hosting a few intra-network web applications. php 5.2.6, mysql 5 and IIS 6 are configured for this server. This web-server (name mywebserver) has a static IP (suppose 10.190.1.50) and is also joined with a domain say (mydomain.net) , therefore its domain name is mywebserver.mydomain.net.

I have a few client desktops (workstations running win xp sp2). All these clients access the webserver.

My requirement is basically to configure the smtp server to be able to send emails to the domain mail exchange server (say the name is mymailserver). what steps should i follow to configure my php pages to send emails ?.
our mail exchange received smtp outgoing emails from other systems only if they are allow.

Really stuck with this issue :banghead: because the simple mail () function is not working.
I have also downloaded and configured the phpmailer class but it gives the following error.

Mailer Error: SMTP Error: Could not connect to SMTP host.


:crazy:
User avatar
phpserver
Forum Newbie
Posts: 22
Joined: Mon Oct 20, 2008 2:59 am
Location: Eastleigh,Nairobi

Re: Configure smtp virtual server - IIS6, php5.2.x, win2003Serve

Post by phpserver »

mail() consumes a lot of resourses out of ya memory,try using swift mailer class.Swift mailer has found a way to go around the need to use mail(),somehow,and it works just fine.
khalidmehmoodawan
Forum Newbie
Posts: 13
Joined: Thu Oct 23, 2008 3:19 am

Re: Configure smtp virtual server - IIS6, php5.2.x, win2003Serve

Post by khalidmehmoodawan »

can u send a sample example (if u have time)
Post Reply