Jump to content

[SOLVED] Understanding PHP Mail


smijy

Recommended Posts

Sorry if this topic has been beaten to death, I have scowered Google for a definitive answer but all I've found are "ideas or suggestions", what I want to know is.

 

My Win2k3 Serer box, running MySQL 6, PHP5, and PHPBB 3, does it need to have an E-Mail Server configured on it, to be able to E-Mail out notifications, etc, for PHPBB?

 

I can install Exchanged on it, but if PHP has some sort of built in function that will send out Mail I'd rather use that, I know you can configure it to use an SMTP Server, such as my ISP provided E-Mail address, was just wondering if I was completely misunderstanding the PHP Mail function or not.

 

Any input would be greatly appreciated.

 

Thank you in advance,

 

Jason.

Link to comment
https://forums.phpfreaks.com/topic/78719-solved-understanding-php-mail/
Share on other sites

I had this at work, stupdi windows server.

basically:

 

1. goto php.ini, open it.

2. goto "SMTP".

3. enter the IP to your mail server. or a web server you have access too.

4. save.

5. copy the php.ini file into C:\WINDOWS

6 copy the php.ini file into C:\WINDOWS\system_32

 

restart your apache. and try again?

I had this at work, stupdi windows server.

basically:

 

1. goto php.ini, open it.

2. goto "SMTP".

3. enter the IP to your mail server. or a web server you have access too.

4. save.

5. copy the php.ini file into C:\WINDOWS

6 copy the php.ini file into C:\WINDOWS\system_32

 

restart your apache. and try again?

 

Thank you for the quick response, now there is currently no E-Mail Server running on this box, it does however run IIS 6, so when you say "enter the IP to your mail server. or a web server you have access too. can I just point it to localhost? as I have access to my own webserver.?

 

Thanks in advance.

 

Jason.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.