Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: php mail ?

  1. #1
    New to the CF scene
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    php mail ?

    Hello Guys,
    Please guide me how send data in table format through php mail. give your feedback.
    thanks.

  • #2
    Regular Coder poyzn's Avatar
    Join Date
    Nov 2010
    Posts
    266
    Thanks
    2
    Thanked 61 Times in 61 Posts
    Quote Originally Posted by jesicabon View Post
    Hello Guys,
    Please guide me how send data in table format through php mail. give your feedback.
    thanks.
    You should send a message as html template with header "Content-Type: text/html; charset=UTF-8\r\n";

    PHP Code:
    $headers "From: jesicabon@hostname.com\r\n";
    $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
    $message "<table><tr><td>Hello, jesicabon</td></tr></table>"
    mail($to$subject$message$headers); 
    Last edited by poyzn; 02-11-2014 at 02:49 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •