Jump to content

amrita2084

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

amrita2084's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi thanks for the mail method itself but stil it doesnt solve my problem...as im not able to send the mail to the person cos the FROM message fails ...pls let me know how to use headers
  2. hi its displaying like this From: amrita_84@google.com Reply-To: webmaster@qaguild.com
  3. hi thanks for immediate response...bt i tried with qoutes bt the mail is not geting send by tat. $headers = "From: $from" . "\r\n" . 'Reply-To: register@tech.com' . "\r\n"; any other idea...like how to send from in the php mail function...cos the above header doesnt work....pls help me
  4. hi every one!! i am having problems with the mail() of php. In this,i would like to know how u can use "from header" ? for eg: im filling one form ,wich asks for UR email id and To mail id. from this form, im retrieving the from email id , bt i cant seem to use the from email id in mail (). i have tried " $from= $_POST['email']; $to = $_POST['to_email']; $body = "hi everyone"; $subject =" CHECK MAIL"; $headers = 'From: <register@tech.com>' . "\r\n" . 'Reply-To: register@tech.com' . "\r\n"; mail($to, $subject, $body, $headers); But i would like to know how to use $from address in my mail function. Please help me as soon as possible. I hav tried replacing $headers =" FROM : $from "; But it doesnt send the mail.....so i would like to know if there is any other option?plsss help thanks in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.