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