Question: PHP e-mail SMTP setting ??? I've managed to create a PHP form having all the validation as required, which seems working perfectly well.\n\nThe codes of my "Contact.php" file can be seen on: http://darsh25.tripod.com/contact.php.txt \n\nWhat exactly do I need doing in order to set "smtp" so as to be able to receive all the data filled in the form, to my e-mail. If possibly, I would like to receive it on my Yahoo's e-mail, if possible (since I use Yahoo's e-mail more often).\n\nDo I need to create some sort of "config.php" or make any change to "php.ini" ??? \n\nCan anyone help. Any help would be greatly appreciated.\n\nPS: If possible, please provide your e-mail, if you wish to know more so I could possibly contact you back.

Answer: Actually PHP does not have a smtp setup within the PHP files themselves, that would be done by whomever installed PHP. I do alot of PHP scripts on yahoo's web hosting. I usually setup two files, one for the email form (a HTML file) and one with some PHP code to mail the information to my own mailbox. I'll show you those files if you want to learn some PHP in general, but if you just want to get this particular form working, I guess I can help with that.\n\nCheck out w3 schools for basic HTML form design and php.net for the definition of PHP's mail routine.\n\nAnother thing to remember, sometimes PHP will only allow messages to be sent to certain email addresses, like admin@yourdomain.com and so forth.\n\nDid you setup the PHP server yourself? I don't really understand the question all that well.\n\nI looked back at your page and noticed it was a tripod page. Is that who you're hosting your site through? Would you be using their PHP server? I need to know this to answer your question.
This question from the Yahoo Q&A forum is categorized in the topic: Sports