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
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?

Link to comment
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?

 

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.

Link to comment
Share on other sites

Nope. it has to be an IP of a mailserver.

you could try your exchange IP address.

otherwise a website you have aceess too.

 

example: Hotmail. you'd need an SMTP username and password.

but you wont be able to send emails from hotmail.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.