Jump to content

php.ini [mail function]


Recommended Posts

I am trying to set up the mail function in php.ini so that I can use mail() in my web pages on my local machine.

 

I have changed the mail function from

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

 

to

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.talktalk.net
; http://php.net/smtp-port
smtp_port = 25

 

I have also tried

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.aol.com
; http://php.net/smtp-port
smtp_port = 587

 

I have tried two different mail servers as I am with AOL, but I think I may have been transferred to the TalkTalk server. At least this is what it looks like when I search my IP address with whois.

 

The main problem, I think, is that when I change the information in php.ini it doesn't change when I look in the phpinfo().

 

I get no error message when i use the mail() function. however the email does not seem to have been sent. Any help or light shed on this would be greatly appreciated.

 

Some more details:

PHP Version 5.3.5

Loaded Configuration File C:\xampp\php\php.ini

any more info needed - just ask

 

Link to comment
https://forums.phpfreaks.com/topic/244256-phpini-mail-function/
Share on other sites

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.