Page 1 of 1

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

Posted: Fri Dec 12, 2008 1:19 am
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:

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

Posted: Sun Dec 14, 2008 4:19 am
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.

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

Posted: Sun Dec 14, 2008 8:31 am
by khalidmehmoodawan
can u send a sample example (if u have time)