Configure php.ini for mail settings
Hello,
I am sorry about this question as it probably is simple i just need to make sure im doing things right. I have a php script for my forms and it appears to work but it doesn't send the email to the email address. I am now turning to the php.ini as i forgot to set it but im not sure if i have done it right:-
Code:
[mail function]
; For Win32 only.
SMTP = authsmtp.streamline.net
smtp_port = 25
; For Win32 only.
;sendmail_from = [email protected]
I am running windows xp. Do i need to change any of the above. And also when i edit it, do i have to upload it to my web server?
Can anyone please help, many thanks
Re: Configure php.ini for mail settings
Who is your mail provider? What did they give you as outgoing mail server? That's what you need to put for the smtp option. smtp_port is very likely to be right. You should uncomment the sendmail_from option to get a proper sender address, too.
Also, do you need to login to the SMTP server? If so, you'll probably have to tell PHP your authentication info, too. I don't know how to do that, though.