add_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ );

function set_html_content_type() {

return ‘text/html’;

}

$subject = ‘Local Business Search : Your Profile Updated.’;

$msg = “<html>”

. “<body>”

. “Dear User,”

. “<br/>Your password has been updated successfully.”

. “<br/>Your new password : $edt_npass”

. “<br/><br/>”

. “Thanks,<br/>”

. “Team Local Business Search”

. “</body>”

. “</html>”;

$res = wp_mail($edt_mail,$subject,$msg); // sends email to user

One Comment

  • Mens Shoes says:

    Many thanks to you for discussing these kinds of fantastic posts. In addition, an excellent vacation in addition to health insurance system could relieve those issues that are included with touring overseas. Some sort of healthcare crisis can easily soon become extremely expensive which is likely to speedily slam a monetary weight on the family’s budget. Having in place the suitable travel cover program before setting off will be definitely worth the time and effort. Thanks a lot

Leave a Reply