RE: [PHP] Cannot send a hyperlink
| From: | Instruct ICC | Date: | Thu, 15 Nov 2007 20:52:59 +0000 |
| Subject: | RE: [PHP] Cannot send a hyperlink | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264627@lists.php.net to get a copy of this message | ||
> No access to the server command line to install it!
> And, I am into this guy too deep to switch technologies. For the next time
> around, no problem, this time I am just trying to get php to do what it is
> supposed to do.
[sarcastic]Rough install.[/sarcastic] If you can write a php script, you can use PHPmailer http://phpmailer.sourceforge.net/tutorial.php#4
<?php
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = "smtp.example.com"; // SMTP server
$mail->From = "from@example.com";
$mail->AddAddress("myfriend@example.net");
$mail->Subject = "An HTML Message";
$mail->Body = "Hello, <b>my friend</b>! \n\n This message uses HTML
entities!";
?>
_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033