Jump to content

how to include hyperlink in an email in php


kwstephenchan

Recommended Posts

Hi, I have this program that searches the database and look for appropriate member and send a confirmation email to each one of them. In the email, I have a hyperlink to allow a reply to be sent back to me.

My problem is that the hyperlink appears in a plain text in the email and is not clickable. I tried using the html tag <a href ... > </a> as well, it still does not work, instead, it displayed the html tag as well.

Can someone help?

Have your made sure that the headers in your script are setup to send html formatted email and not plain text?

 

This tutorial should help you no end, especially the section "Sending HTML Email": http://www.webcheatsheet.com/php/send_email_text_html_attachment.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.