|
-
Nov 22nd, 2006, 04:39 AM
#1
Thread Starter
New Member
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
-
Nov 22nd, 2006, 06:04 AM
#2
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|