Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Westmatrix99 #1
Send an entire page in email.
Hi PHP coders,
I have this below but do not know what to place in this section to get an
entire dynamic page to be sent to any email similar to send to a friend:
$mail->Body= '';
=================================================
<?php
require('class.phpmailer.php');
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = 'localhost';
$mail->From = 'email@domain.com';
$mail->FromName = 'Name';
$mail->AddBCC (email@domain.com, Name);
$mail->AddReplyTo('email@domain.com', 'Name');// optional name
$mail->WordWrap = 50; // set word wrap to 50 characters
//$mail->AddAttachment('Student 2 Student_LOGO.jpg'); // optional name
$mail->IsHTML(true); // set email format to HTML
$mail->Subject = 'Some subject';
$mail->Body = '';
$mail->AltBody = '';
if(!$mail->Send())
{
echo 'Message could not be sent. <p>';
echo 'Mailer Error: ' . $mail->ErrorInfo;
exit;
}
echo 'Message has been sent';
?>
============================================
Any help would be great!
Cheers
West
Westmatrix99 Guest
-
Group email doesn't send because of bad email
Hi, say I have to email 100 people at once, but one of the email addresses is bad, meaning formatted right but does not exist anymore. Right now,... -
Send formatted page via Email
I'm urgently looking for a code which will automatically sends a formatted page, including the fonts and layouts via email. I do know how to send... -
send an email from ASP page
Hi, I wish to send the user entered data through email to the Admin. Iam trying to use CDO object but it gives me the following message.. ... -
CDO doesn't send email
Hi, I'm using CDO object to send email but it doesn't send any email and it does not give an error. My code look like this: Dim iMsg2 Dim... -
How can I send the page in the body of email.
I want to send the page in the body of the email , just like the functionality of the send page in the browser explorer . I have tried the...



Reply With Quote

