Jump to content

sending email


Frank Vèssia
 Share

Recommended Posts

Actually PHP is what the comments system uses for sending email. And it doesn't get any simpler:

<?php mail("you@company.com", "Subject", "E-Mail Body"); 

If you want to send HTML:

<?php mail("you@company.com", "Subject", "HTML Content", "Content-Type: text/html"); 

If you want to include a specific FROM address:

<?php mail("you@company.com", "Subject", "HTML Content", "From: bob@company.com"); 

If you want to do both:

<?php mail("you@company.com", "Subject", "E-Mail Body", "From: bob@company.com\nContent-Type: text/html"); 
  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...