hi, i have a shopping cart in php and i want to sent an automatically e-mail verification when the customer is finishing his order. can anybody tell me how to do this?
you need to send an email that include a link to verify the cart, so the job can be handled.. that link needs to point to a script wich is going to accept the cart and it's products.
i don't know the way to sent this e-mail. witch is the php code for sending e-mail? i have the wamp server installed in windows xp. is enough this for sending e-mail or is needed another software?
http://in.php.net/mail just include the code in the last line of order finished page and also be sure to replace the contents with of yours and also the mail...
this is the error message that is displaying Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\mail.php on line 10
Are you running it on your PC? Just have a look at this http://forums.mysql.com/read.php?52,56255,87853#msg-87853 http://bugs.php.net/bug.php?id=15373 It may be because you are running it on a PC try to run it from a realtime webserver...
As Freewebspace' said, You can't send send emails from wamp on a local PC unless you have a mail server installed i believe.