Hi there I've got a small php mail() function here, which doesn't seem to be sending emaisl whatever I do. (I've hidden all the details for obvious reasons) Any idea whats going wrong? Thanks
For mail() to work you must have a SMTP enabled on the server. check this and write back. If you test it local its 100% sure that you don't have
Hi, I think "To: " is not required in header. try to send email removing this part. if it doesn't work then try to use phpinfo() to check the smtp status in your server thanks
Hi I am having a greeting card site. When a customer fills a form and sends it is relayed by sendmail to the receipient the informaion contained therein. The script is set to $smtp_server='localhost'; There was no problem with this till my web host made some modifications and now he says: "The send mail path and the document root you are using are correct. You must be able to send mails using the PHP mail scripts. However kindly note that, we have placed some rigid rules on the server to avoid spamming activities such that you will not be able to send emails using any script if you are not using a proper valid email account which is created under the domain 'telugugreetings.net'. So kindly make sure that you are using any email accounts created under this domain in the 'From' address field in the mail script to send mails. : I am having email account '" created under my domain." The SMTP server is mail.telugugreetings.net, port 465 Please help me what modifications I have to make to the script to work properly. Thanks