send email from my window xp laptop

Problems with the Windows version of XAMPP, questions, comments, and anything related.

send email from my window xp laptop

Postby frensap » 16. August 2010 07:29

Hi,

i am learning the mail function of the php. I know i need to do some configuration in the php.ini file for the mail to work in my laptop.

I intend to do a test mail and send it to my gmail. may i know what i should change, i check it out and i am confused on what to do, it seems like it is all being set up i am unable to do the mail sending.

It gives me this message:

Thank you John for your email.

Your email address is test@test.com

Your message is
this is a test

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampplite\htdocs\xampp\elearning\samteach2\forms\sendmail.php on line 23


This is in my php.ini file.

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

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = postmaster@localhost


My question is win32 does it mean winxp? and the sendmail_from, i have to change it to the email that is to be sent to, the word " From" is confusing.

Thanks for any help.
frensap
 
Posts: 7
Joined: 20. July 2010 16:17

Re: send email from my window xp laptop

Postby frensap » 17. August 2010 01:20

oops.. i just realized that i posted in the wrong language forum.

moderater, pls delete this thread as i had posted similar thread in the english section already. thanks.
frensap
 
Posts: 7
Joined: 20. July 2010 16:17


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests