akram_0090

send a text email

Jul 5th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.68 KB | None | 0 0
  1. Sending Plain Text Emails
  2. The simplest way to send an email with PHP is to send a text email. In the example below we first declare the variables — recipient's email address, subject line and message body — then we pass these variables to the mail() function to send the email.
  3.  
  4. Sending HTML Formatted Emails
  5. When you send a text message using PHP then all the content will be treated as simple text. We're going to improve that output, and make the email into a HTML-formatted email. To send an HTML email, the process is the same. However, you need to provide additional headers as well as an HTML formatted message.
  6.  
  7.  
  8. http://picocurl.com/10h9
  9. https://pastebin.com/edit/h5yPN3sg
Add Comment
Please, Sign In to add comment