Sunday, February 28, 2016

Send PHP Email in HTML Format

How To Make Money Online ...:::: Earn Methods ::::...

PHP Email is one of the useful functions you can use to send email to one and more people. and you can also use this to send many emails, to people such as who submit a form or who contact you via blog or website.

So let,s see how to submit PHP EMAIL, Plain-Text Email in PHP
First you should know about the basic email functionality in PHP, 
you simply need some steps to be added in the email function something like below

$to = “”;$subject = “Verify Your Email”;$message = “This is a message for you!”;$from = “”;mail($to,$subject,$message,$from);

Above local variables hold some information and then we use the PHP, Email function easily. So, if you want to send a beautiful HTML & CSS formatted (Email) then you do so. Carry on reading.

Sending PHP Email with HTML & CSS Easily
You can use extra headers to send an email which contains HTML and CSS codes, and this will be actually applied on the page. 
Now below is the some code which you can take from here and can use in your site-projects, this will send the email to the user which is in the $to variable, and the email will be fully designed.

///////////------My Blogger Tools--------////////////$to = “;$subject = “Verify your email address.”;$message = ”<html>Hello <strong>John Doe</strong><h2>We are a company here in the USA</h2><marquee>We do business with clients</marquee><h3 style=’color:read;’>We welcome you to our website</h3></html>“;// Always set content-type when sending HTML email$headers = “MIME-Version: 1.0” . “\r\n”;$headers .= “Content-type:text/html;charset=UTF-8” . “\r\n”;$headers .= ‘From: <>‘ . “\r\n”;mail($to,$subject,$message,$headers);///////////------My Blogger Tools--------////////////

Above email is the perfect one with HTML and CSS (Web or blog) tags, you can change it according to your own information. 
But the important part in above email "syntax" is the ($headers variable) in which we’ve defined the version and content with character & set. So  this format will be treated as HTML email by the browser and email provider. 
You also can change the (from:<>) to your own email from which you want to send an email to someone.

If you have any questions about this tutorial or any other tutorial on this website then don’t hesitate to ask your question using below commenting area below this posts Thanks!

How To Make Money Online ...:::: Earn Methods ::::...
Previous Post
Next Post


  1. Such as very valuable information and it's very helpful in my carrier, I really appreciate the kind are the master of content.
    sap basis training in chennai

    1. I have read your blog its very attractive and impressive. I like it your blog.

      PHP Training in chennai | PHP Training Course

      PHP Training in chennai | Online PHP Course

    2. I have read your blog its very attractive and impressive. I like it your blog.

      Email Marketing India Email Marketing Services India

    3. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai

  2. its really very helpful to send the mail in PHP with HTML format. and its really good to know how to send with authorized commands.thanks for sharing. keep update.
    SEO Training in Chennai

  3. your content is really great's sound ,it is implementing me to work more in this kind of information and it is a incredible work.

    digital marketing training in chennai

  4. Thanks for your informative post!!! After completing my graduation, i am confused whether to choose web design as my career. Your article helped me to make a right choice. PHP Training in Chennai

  5. Hire PHP programmer who customizes your website to the finest accuracy. PHP outsource can be done from a
    PHP development company which provides presence and sufficient impetus towards the growth of your business.
    Please visit us: php


  6. Thanks for the good words! Really appreciated. Great post. I ve been commenting a lot on a few blogs recently, but I had nt thought about my approach until you brought it up.

    SAP training in Chennai

  7. This could have been prevented if the user had been a bit more alert and monitored their gmail account activity regularly.create gmail account

  8. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.
    seo company in chennai

  9. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.

    monkey go happy| yahtzee with buddies| | mahjong | | defendyournuts 2| superfighters 2 |

  10. Great Article. Thanks for shares

  11. Thanks for giving the unique content, you have done a great job I appreciate your effort and I hope you will get more positive comments from the web users

    Dot Net training in chennai

  12. nice blog too informative. looking and reading your points its so impressive. doing more blog like this. i really appreciated doing like this.
    Digital Marketing Course in Chennai

  13. Very very informative stuff. keep it up.

    Mike Craig
    Internet marketer

  14. Good post. I learned some new things. Thanks for sharing.

    php training in chennai

  15. The blog was absolutely fantastic! Lot of great information which was helpful
    Best software testing training institute in velachery

  16. By reading your blog post i gained more information.
    Social Media Marketing

  17. If you are confronting with your Yahoo account. So, just dial a Yahoo technical support number and forget all issues with your Yahoo account.Customer Support Number of Yahoo

  18. Thank you for this valuable information. I have got some important suggestions from it. I'm working in Brave Technologies Private Limited. We provides lowest price of ERP Software for our clients. Contact us on
    Manufacturing ERP software Chennai | Automotive ERP in Chennai

  19. Very Nice Blog I like the way you explained these things. I’ve been looking for ways to improve my website and overall rankings.I hope your future article will help me further.Take SEO Training in Chennai to mould yourself.

  20. Wonderful article, very useful and well explanation. Thanks a lot for offering this unique post with us. I really enjoyed by reading your blog post
    Digital marketing course in chennai

  21. Thanks for such a great information and to provide us. We have the finest I mcafee certified technicians and If you're facing trouble in your mcafee antivirus software then just go through the link here. Click Here:-

  22. We share this topics information was really good.I really beneficial our blog associated info.We share this topic related to HTML with PHP Any IT industry framework developed using to PHP and HTML framework coding. Appreciate to many I'll liked this.SEO Training in Chennai

  23. are the leading manpower consultancy located in Delhi/NCR can help you with the best jobs as per locations and requirements

  24. 888-224-0568
    A very Impressive and detailed post. Thanks for sharing such a wonderful and important information.
    For more info how to fix yahoo problems visit us @ Visit here

  25. Good and Nice article, it is very useful for me, thanks for sharing your views and ideas... keep rocks....
    Best Javva Training in chennai | Best PHP Training in chennai |Best Dot Net Training in chennai

  26. Excellent Blog with useful concept., this blog contain very useful information and for the further information about the php kindly visit our site.. Best Dot Net Training in Chennai | Best Java Training in Chennai | Best Web Design Training in Chennai

  27. its really very helpful to send the mail in PHP with HTML format. and its really good to know how to send with authorized commands.thanks for sharing. keep update.

    Dot Net Training Institute in Chennai

  28. I agree with your blog, really your blog contain very useful information. Thanks for sharing such a nice blog. CCNA Training Institute in Chennai | CCNP Training Institute in Chennai | Six Sigma Training in Chennai

  29. Hi Good day....

    Excellent post and very useful for web designers. PHP is the language used for web designing trending the market now.

    php training in coimbatore

    seo training in coimbatore

    web design training coimbatore


  30. The website is looking bit flashy and it catches the visitors eyes. A design is pretty simple and a good user-friendly interface.

    Programmierung in Lüdenscheid

  31. I found a lot of interesting information here. A really good post
    office 2010 professional plus key deutsch

  32. I read our full content was really amazing,then the this more important in my part of life.
    The given information very impressed for me really so nice content.

    white label website builder

  33. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.

    IBM BPM Online Training in Chennai
    IBM BPM Online Training

  34. It was so bravely and depth information. I feel so good read to your blog. I would you like thanks for your posting such a wonderful blog!!!
    SEO Training in Tnagar
    SEO Course in Nungambakkam
    SEO Training in Saidapet
    SEO Course in Navalur
    SEO Course in Omr
    SEO Training in Tambaram

  35. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
    Web Designing Course in chennai
    Web Designing training in chennai
    Hadoop Training in Chennai
    Python Training in Chennai
    Web designing Training in Porur
    Web designing Training in Adyar
    Web designing Training in Tnagar

  36. Thanks for providing wonderful information with us. Thank you so much.

    Software Testing Training in Chennai

  37. your content is really great's sound ,it is implementing me to work more in this kind of information and it is a incredible work.

    Python Course in Chennai
    Java Course in Chennai

  38. i have read the article it's very nice and useful thanks for it web design company in velachery

  39. Mobile and PC security is very essential for protecting data and as internet grows day by day, it is going very difficult for many. So as of security concern, main purpose to provide best security without slowing down your system. If you are required any issue at any stage of webroot, just visit our website for online support.

  40. Here we provide the services for office/setup and Hp Customer Service. you can download the setups of office by clicking below and if you have any issue regarding Hp product if you need any feel free to call our toll free HP Customer Service +1-800-382-3046 || |


  41. Astonishing article that I have never seen before. I aimed to write an article based on this tally field, but my startings were rejected...Now, the information that you have designed in this blog was misery to read about this tally and its technical features. Surely these writings will help the beginners and the professionals. Thanks

    Tally ERP 9 Training
    tally classes
    Tally Training institute in Chennai
    Tally course in Chennai
    seo training classes
    seo training course
    seo training institute in chennai
    seo training institutes
    seo courses in chennai
    seo institutes in chennai
    seo classes in chennai
    seo training center in chennai


  42. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well I really get amazed to read this. It's really good.
    I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!.mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg
    mobile phone repair in Fredericksburg

  43. Nice blog, it’s so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job. Thank you for this wonderful sharing with us. Keep Sharing.
    Digital Marketing Course In Kolkata
    Web Design Course In Kolkata


  44. The article provides good information and here i want to share some information about ibm bpm tutorial and weblogic server tutorial

  45. My travel life have been simpler with Garmin GPS Update . In addition I can get all the extra information through their websites. I utilize the Garmin application and is absolutely up to the imprint. I prescribe everybody to utilize How to update map in a garmin device and get Garmin life time map update or call +1-888-309-0939 for moment help from Garmin GPS specialists.

  46. I didn't have a clue about the whole advantages of My Garmin Express. Be that as it may, since I have perused this blog on map update, I have introduced all accessible updates for my Garmin device. I should state that this bit of blog has helped me improve navigation understanding. I am recommending every one of my companions to peruse this blog and get Garmin Nuvi Update with this team and get Garmin life time map update or call +1-888-309-0939 for moment help from Garmin GPS specialists.

  47. I think this the best blog with the most important information filled in this website
    I Got the more and more ideas from this blog Thank You for letting us to know.
    pythonTraining in chennai

    python Course in chennai

  48. This information is impressive..I am inspired with your post writing style & how continuously you describe this topic.

    Data Science Training Institute in Bangalore