Hi,
I am sending a link in mail where the receipents will click to visit the site.
Unfortunately, the links are disabled. I am only getting the text "Click Here" in blue text but the link is disabled.
I have tested this for all mail servers link Gmail, Hotmail and Yahoomail.
Below is the Code for your reference.
$return_html.= "<a href='.$customer_url.'new_user_sign_up_verification.php?conf_code=".$confirm_code."&email=".$str_Email."&lang=".$str_lang."'>". $ADMIN_MAIL4 ."</a>";
Please help me to enable the link in the mail sent to the users.
Thank you.
Santosh
Sending links in mail
Moderator: General Moderators
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: Sending links in mail
It looks like you might just be building the URL string improperly.
You have this:
Try this:
You have this:
Code: Select all
$return_html.= "<a href=[b]'.$customer_url.'[/b]new_user_sign_up_verification.php?conf_code=".$confirm_code."&email=".$str_Email."&lang=".$str_lang."'>". $ADMIN_MAIL4 ."</a>";
Code: Select all
$return_html.= "<a href=[b]'".$customer_url."[/b]new_user_sign_up_verification.php?conf_code=".$confirm_code."&email=".$str_Email."&lang=".$str_lang."'>". $ADMIN_MAIL4 ."</a>";
Re: Sending links in mail
You can use phpmailer class to send HTML mail though. try it .
-
everurssantosh
- Forum Newbie
- Posts: 13
- Joined: Wed Jun 25, 2008 10:26 am
Re: Sending links in mail
Thanks you everybody for this help