Which method in the Email Class is used to send HTML formatted emails?

  • send()
  • set_format()
  • set_html()
  • set_mailtype()
The set_mailtype() method in the Email Class is used to specify the email format. Setting it to 'html' enables the sending of HTML-formatted emails. This is essential when you want to include styled content in your emails.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *