Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Partial link in email

Status
Not open for further replies.

EdLentz

Technical User
Mar 20, 2002
85
US
Hi
I have a php file that I am using to email a html link. I have a variable for the WAN Ip address and then a page link. The link is formed for the WAN IP but for some reason the page isn't included in the link.

Code:
$message = "
<html>
<head>
<title>Unauthorized Programming</title>
</head>
<body>
<p>This Nimbus has had unauthorized additions to the Extensions</p>
<p>  $hostname <p>
<p>Navigate to [URL unfurl="true"]http://$ip_server/Extensions.html[/URL] to see what happened.</p>
</body>
</html>

So is created as a link in the email but the /Extensions.html is plain text. What is needed to make it a full link?

Thanks
 
The email link is auto-generated by your email program because you did not explicitly define it in your HTML.

PHP:
$message = "
<html>
<head>
<title>Unauthorized Programming</title>
</head>
<body>
<p>This Nimbus has had unauthorized additions to the Extensions</p>
<p>" . $hostname . "<p>
<p>Navigate to <a href=\"[URL unfurl="true"]http://"[/URL] . $ip_server . "/Extensions.html\">[URL unfurl="true"]http://"[/URL] . $ip_server . "/Extensions.html</a> to see what happened.</p>
</body>
</html>";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top