Send PHP mail with Attachment
  • Send PHP mail with Attachment

  • Asked by Sadia yousaf on 24th Sep 2018

hi i used email php script (Send PHP mail with Attachment) your script work but do not received full name , phone numbers, or address plz give me any solution.

    Add Answer

    1 Answer

      • Saran

      You need to construct a message body something like this:

      • 1
      • 2
      • 3
      • 4
      • 5
      • 6
      • 7
      $message_body = "Message from $sender_name\n"; $message_body .= "------------------------------\n"; $message_body .= "$message\n"; $message_body .= "------------------------------\n"; $message_body .= "$sender_name\n"; $message_body .= "$reply_to_email\n"; $message_body .= "$phone_number\n";

      I have also updated the main code please check.

      Can You Answer this? Help us answer the question!

        • Answer
        Supports basic Markdown syntax.