A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.cient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $emaiject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charsom";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "e;email@address.com"e;;
$subject = "e;Email subject"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: you@yourdomain.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
mail($recipient, $subj make you search, I'll post a codeCode: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subjil_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail(ody of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_heade1]
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
[/php;;
$email_body = "Body of email"e;;
$additional_headers = "e;From: you@yourdomain.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_h
$recipient = "email@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "From: you@yourdomain.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);Code: Select all
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachments[] = 'c:/path/to/file/filename.ext';
// $attachments[] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($size[mime]){
return($size[mime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "mime_boundry_multipart/mixed".md5(time())."x";
$alternative_mime_boundary = "mime_boundry_multipart/alternative_".md5(time())."x";
$content = "Date: ".date('D, d M Y H:i:s O')."\n".
"Subject: $subject\n".
"To: $email\n".
"From: $email_from\n".
"MIME-Version: 1.0\n";
if(count($attachments) > 0){
$content .= "Content-Type: multipart/mixed;\n" .
" boundary=\"{$mime_boundary}\"\n\n";
if($html == TRUE){
$content .= "This is a multi-part message in MIME format.\n\n".
"--{$mime_boundary}\n".
"Content-Type: multipart/alternative;\n".
" boundary=\"{$alternative_mime_boundary}\"\n\n".
"--{$alternative_mime_boundary}\n".
"Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n".
"Content-Transfer-Encoding: 7bit\n\n".
strip_tags($email_body)."\n\n".
"--{$alternative_mime_boundary}\n".
"Content-Type: text/html; charset=ISO-8859-1\n".
"Content-Transfer-Encoding: 7bit\n\n".
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n".
"<html>\n".
"<head>\n".
" <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n".
" <title></title>\n".
"</head>\n".
"<body>\n".
$email_body."\n".
"</body>\n".
"</html>\n\n".
"--{$alternative_mime_boundary}--\n";
}else{
$content .= "This is a multi-part message in MIME format.\n\n".
"--{$mime_boundary}\n".
"Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
strip_tags($email_body)."\n\n";
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "--{$mime_boundary}\n" .
"Content-Type: $mime_type;\n" .
" name=\"{$value[basename]}\"\n" .
"Content-Transfer-Encoding: base64\n" .
"Content-Disposition: $disposition;\n" .
" filename=\"{$value[basename]}\"\n\n" .
$data . "\n";
}
}
}
$content .= "--{$mime_boundary}--\n";
}elseif($html == TRUE){
$content .= "MIME-Version: 1.0\n" .
"Content-Type: multipart/alternative;\n".
" boundary=\"{$alternative_mime_boundary}\"\n\n".
"--{$alternative_mime_boundary}\n".
"Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n".
"Content-Transfer-Encoding: 7bit\n\n".
strip_tags($email_body)."\n\n".
"--{$alternative_mime_boundary}\n".
"Content-Type: text/html; charset=ISO-8859-1\n".
"Content-Transfer-Encoding: 7bit\n\n".
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n".
"<html>\n".
"<head>\n".
" <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n".
" <title></title>\n".
"</head>\n".
"<body>\n".
$email_body."\n".
"</body>\n".
"</html>\n\n".
"--{$alternative_mime_boundary}--\n";
}else{
$content .= "Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
strip_tags($email_body)."\n";
}
return($content);
}
print '<pre>'.htmlspecialchars(mime_content($email, $email_from, $subject, $email_body, $html, $attachments)).'</pre>';
?>Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachmentsї] = 'c:/path/to/file/filename.ext';
// $attachmentsї] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($sizeїmime]){
return($sizeїmime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "e;mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n"e;;
}
return($content);
}
print '&am if you don't use it at least you can see what you are trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachmentsї] = 'c:/path/to/file/filename.ext';
// $attachmentsї] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($sizeїmime]){
return($sizeїmime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "e;mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n&quoe trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachmentsї] = 'c:/path/to/file/filename.ext';
// $attachmentsї] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($sizeїmime]){
return($sizeїmime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "e;mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body).&qu can see what you are trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachments[] = 'c:/path/to/file/filename.ext';
// $attachmentsї] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($sizeїmime]){
return($sizeїmime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "e;mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
I have written that builds a mime email (multipart or otherwise). Even if you don't use it at least you can see what you are trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachmentsї] = 'c:/path/to/file/filename.ext';
// $attachmentsї] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($sizeїmime]){
return($sizeїmime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "e;mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n"e;;
}
return($content);
}
print '<pre>'.htmlspecialchars(mime_content($email, $email_from, $subject, $email_body, $html, $attachments)).'</ I have written that builds a mime email (multipart or otherwise). Even if you don't use it at least you can see what you are trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachments[] = 'c:/path/to/file/filename.ext';
// $attachments[] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($size[mime]){
return($size[mime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "mime_boundry_multipart/mixed".md5(time())."x";
$alternative_mime_boundary = "mime_boundry_multipart/alternative_".md5(time())."x";
$content = "Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; as many as you like.
// $attachments[] = 'c:/path/to/file/filename.ext';
// $attachments[] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($size[mime]){
return($size[mime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "mime_boundry_multipart/mixed".md5(time())."x";
$alternative_mime_boundary = "mime_boundry_multipart/alternative_".md5(time())."x";
$content = "Date: ".date('D, d M Y H:i:s O')."\n".
"Subject: $subject\n".
"To: $email\n".
"From: $email_from\n".
"MIME-Version: 1.0\n";
if(count($attachments) > 0){
$content .= "Content-Type: multipart/mixed;\n" .
" boundary=\"{$mime_boundary}\"\n\n";
if($html == TRUE){
$content .= "This is a multi-part message in MIME format.\n\n".
"--{$mime_boundary}\n".
"Content-Type: multipart/alternative;\n".
" boundary=\"{$alternative_mime_boundary}\"\n\n".
"--{$alternative_mime_boundary}\n".
"Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n".
"Content-Transfer-Encoding: 7bit\n\n".
strip_tags($email_body)."\n\n".
"--{$alternative_mime_boundary}\n".
"Content-Type: text/html; charset=ISO-8859-1\n".
"Content-Transfer-Encoding: 7bit\n\n".
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n".
"<html>\n".
"<head>\n".
" <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n".
" <title></title>\n".
"</head>\n".
"<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
= FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($size[mime]){
return($size[mime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n&qun if you don't use it at least you can see what you are trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body text. Can include html tags.
$email_body = 'Body text';
// Attachments
// Any attachment should look like the following and include
// the file name and the path. Add as many as you like.
// $attachments[] = 'c:/path/to/file/filename.ext';
// $attachments[] = 'c:/path/to/another/file/another-filename.ext';
// HTML mail
// Set to TRUE for HTML email or FALSE for plain text email
$html = FALSE;
function mime_content($email, $email_from, $subject, $email_body, $html = NULL, &$attachments = NULL)
{
if (!function_exists('mime_content_type')){
function mime_content_type($file){
@$size = getimagesize($file);
if($sizeїmime]){
return($sizeїmime]);
}
return('application/octet-stream');
}
}
// Generate a boundary string
$mime_boundary = "e;mime_boundry_multipart/mixed"e;.md5(time())."e;x"e;;
$alternative_mime_boundary = "e;mime_boundry_multipart/alternative_"e;.md5(time())."e;x"e;;
$content = "e;Date: "e;.date('D, d M Y H:i:s O')."e;\n"e;.
"e;Subject: $subject\n"e;.
"e;To: $email\n"e;.
"e;From: $email_from\n"e;.
"e;MIME-Version: 1.0\n"e;;
if(count($attachments) > 0){
$content .= "e;Content-Type: multipart/mixed;\n"e; .
"e; boundary=\"e;{$mime_boundary}\"e;\n\n"e;;
if($html == TRUE){
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body."e;\n"e;.
"e;</body>\n"e;.
"e;</html>\n\n"e;.
"e;--{$alternative_mime_boundary}--\n"e;;
}else{
$content .= "e;This is a multi-part message in MIME format.\n\n"e;.
"e;--{$mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e; .
"e;Content-Transfer-Encoding: 7bit\n\n"e; .
strip_tags($email_body)."e;\n\n"e;;
}
// Deal with attachments array
if(count($attachments) > 0){
foreach($attachments as $key => $value){
$mime_type = mime_content_type($value);
if(is_file($value)){
if(ereg('^image', $mime_type)){
$disposition = 'inline';
}else{
$disposition = 'attachment';
}
$filesize = filesize($value);
$file = fopen($value,'rb');
$data = fread($file,$filesize);
fclose($file);
// Base64 encode the file data
$data = chunk_split(base64_encode($data));
$value = pathinfo($value);
$content .= "e;--{$mime_boundary}\n"e; .
"e;Content-Type: $mime_type;\n"e; .
"e; name=\"e;{$valueїbasename]}\"e;\n"e; .
"e;Content-Transfer-Encoding: base64\n"e; .
"e;Content-Disposition: $disposition;\n"e; .
"e; filename=\"e;{$valueїbasename]}\"e;\n\n"e; .
$data . "e;\n"e;;
}
}
}
$content .= "e;--{$mime_boundary}--\n"e;;
}elseif($html == TRUE){
$content .= "e;MIME-Version: 1.0\n"e; .
"e;Content-Type: multipart/alternative;\n"e;.
"e; boundary=\"e;{$alternative_mime_boundary}\"e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/plain; charset=ISO-8859-1; format=flowed\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
strip_tags($email_body)."e;\n\n"e;.
"e;--{$alternative_mime_boundary}\n"e;.
"e;Content-Type: text/html; charset=ISO-8859-1\n"e;.
"e;Content-Transfer-Encoding: 7bit\n\n"e;.
"e;<!DOCTYPE html PUBLIC \"e;-//W3C//DTD HTML 4.01 Transitional//EN\"e;>\n"e;.
"e;<html>\n"e;.
"e;<head>\n"e;.
"e; <meta content=\"e;text/html;charset=ISO-8859-1\"e; http-equiv=\"e;Content-Type\"e;>\n"e;.
"e; <title></title>\n"e;.
"e;</head>\n"e;.
"e;<body>\n"e;.
$email_body.&at least you can see what you are trying to achieve.Code: Select all
<?php
// Build mime or plain content
// $email = fill in the recipient
$email = 'you@your-email.com';
// $email_from = fill in the the sender
$email_from = 'me@my-email.com';
// Fill in the subject
$subject = 'Subject';
// Fill in email body tCode: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as "Borrower"
or "Co-Borrower," as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td><div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br>
'.$Mort_Type.'
<td width="90">Amount <br>
'.$Amount.'
<td width="104">Int. Rate <br>
'.$Int_Rate.'
<td width="116">Duration <br>
'.$No_Months.'
<td width="135">Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "$send_to", "ASAsZXzsczxcZXC","$vars", "From: <noreply@lkcwebdesign.test>"))
{
echo "Your message could not be sent. Please call our office at the number below\n";
}
else
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
}
</body>
</html>
?>Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "e;linda@lkcwebdesign.com"e;;
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@lkcwebdesign.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your earch function. I'm attaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@lkcwebdesign.test>"e;))
{
echo "e;Your message could not be sith. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "e;linda@lkcwebdesign.com"e;;
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@lkcwebdesign.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number e code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </t input. I WAS having a hard time finding a relevant post through the search function. I'm attaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "e;linda@lkcwebdesign.com"e;;
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@lkcwebdesign.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"e;;
}
</body>
& input. I WAS having a hard time finding a relevant post through the search function. I'm attaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width=&l_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as "Borrower"
or "Co-Borrower," as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td><div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr&lt;html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>search function. I'm attaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amttaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars&quong a relevant post through the search function. I'm attaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@lkcwebdesign.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"e;;
}
</body&a
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width=&S having a hard time finding a relevant post through the search function. I'm attaching the code I'm working with. What we've done is really different from what's been shown. I've tried fitting in some of your code, but it still is not outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html;
charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; outputting as html.Code: Select all
<?
//Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com"e;;
$vars = '
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$email_body = "e;Body of email"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html;
charset=iso-8859-1\r\n"e;;
mail($recipient, $subject, $email_body, $additional_headers);
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.' </table>
</td>
</tr>
</table>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@lkcwebdesign.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"e;;
}
</body>
</html>
?&glinda@lkcwebdesign.com";
$vars = '
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$email_body = "Body of email";
$additional_headers = "From: linda@lkcwebdesign.com\Code: Select all
if(mail($sent_to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br> '.$Int_Rate.'
<td width="116">Duration <br> '.$No_Months.'
<td width="135">Amortization <br> '.$Amort_Type.'
</table>
</td>
</tr>
</table>
</body>
</html>';
if(mail($send_to,$subject,$email_body,$additional_headers)){ echo "SUCCESS!"; } ELSE { echo "FAILURE!"; }
?>Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br> '.$Int_Rate.'
<td width="116">Duration <br> '.$No_Months.'
<td width="135">Amortization <br> '.$Amort_Type.'
</table>
</td>
</tr>
</table>
</body>
</html>';
if(mail($send_to,$subject,$email_body,$additional_headers)){ echo "SUCCESS!"; } ELSE { echo "FAILURE!"; }
?>Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br> '.$Int_Rate.'
<td width="116">Duration <br> '.$No_Months.'
<td width="135">Amortization <br> '.$Amort_Type.'
</table>
</td>
</tr>
</table>
</body>
</html>';
if(mail($send_to,$subject,$email_body,$additional_headers)){ echo "SUCCESS!"; } ELSE { echo "FAILURE!"; }
?>Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower,&quot; as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td>
<div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="e;698"e; border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br> '.$Mort_Type.'
<td width="e;90"e;>Amount <br> '.$Amount.'
<td width="e;104"e;>Int. Rate <br> rm Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br> e; align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as &quot;Borrower&quot; or &quot;Co-Borrower,&quot; as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td>
<div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="e;698"e; border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width=&amCode: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;>
<div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as &quot;Borrower&quot; or &quot;Co-Borrower,&quot; as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td>
<div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="e;698"e; border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br> '.$Mort_Type.'
<td width="e;90"e;>Amount <br> '.$Amount.'
<td width="e;104"e;>Int. Rate <br> '.$Int_Rate.'
<td width="e;116"e;>Duration <br> '.$No_Months.'
<td width="e;135"e;>Amortizatiop;amp;lt;? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;>
<div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as &quot;Borrower&quot; or &quot;Co-Borrower,&quot; as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td>
<div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="e;698"e; border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<td width="e;211"e;>Mortgage Applied For <br> '.$Mort_Type.'
<td width="e;90"e;>Amount <br> '.$Amount.'
<td width="e;104"e;>Int. Rate <br> '.$Int_Rate.'
<td width="e;116"e;>Duration <br> '.$No_Months.'
<td width="e;135"e;>Amortization <br> '.$Amort_Type.'
</table>
</td>
</tr>
</table>
</body>
</html>';
if(m editor it was all one lineCode: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br&amom";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br> '.$Int_Rate.'
<td width="116">Duration <br> '.$No_Months.'
<td width="135">Amortization <br> '.$Amort_Type.'
</table>
</td>
</tr>
</table>
</body>
</html>';
if(mail($send_to,$subject,$email_body,$additional_headers)){ echo "SUCCESS!"; } ELSE { echo "FAILURE!"; }
?>Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="em";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'<html>
<head>
<title>Uniform Residential Loan Application</title>
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top">
<div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p>This application is designed to be completed by the applicant(s) with the Lender\'s assistance.
Applicants should complete this form as "Borrower" or "Co-Borrower," as applicable.
Co-Borrower information must also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the Borrower\'s spouse) will be used
as a basis for loan qualification or the income or assets of the Borrower\'s spouse will not be used as
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower is relying on other property located
in a community property state as a basis for repayment of the loan.
</p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td>
<div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div>
</td>
</tr>
</table>
<br>
<table width="698" border="1" cellpadding="3" cellspacing="0">
<td width="211">Mortgage Applied For <br> '.$Mort_Type.'
<td width="90">Amount <br> '.$Amount.'
<td width="104">Int. Rate <br> '.$Int_Rate.'
<td width="116">Duration <br> '.$No_Months.'
<td width="135">Amortization <br> '.$Amort_Type.'
</table>
</td>
</tr>
</table>
</body>
</html>';
if(mail($send_to,$subject,$email_body,$additional_headers)){ echo "SUCCESS!"; } ELSE { echo "FAILURE!"; }
?>Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as "Borrower"
or "Co-Borrower," as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td><div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="1" cellpadding="3" cellspacing="0">
<tr>
<td width="211">Mortgage Applied For <br>
'.$Mort_Type.'
<td width="90">Amount <br>
'.$Amount.'
<td width="104">Int. Rate <br>
'.$Int_Rate.'
<td width="116">Duration <br>
'.$No_Months.'
<td width="135">Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "$send_to", "ASAsZXzsczxcZXC","$vars", "From: <noreply@2hats.test>"))
{
echo "Your message could not be sent. Please call our office at the number below\n";
}
else
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
}
?>Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com"e;;
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@2hats.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the numbeected the html and verified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "e;linda@lkcwebdesign.com"e;;
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "Loan Application";
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@2hats.test>&ahtml. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "e;Loan Application"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@2hats.test>"e;))
{
echo "e;Your messmy mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
& your help. Unfortunately, it's still coming through as code. I corrected the html and verified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "e;linda@lkcwebdesign.com"e;;
$recipient = "e;linda@lkcwebdesign.com"e;;
$subject = "e;Loan Application"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@2hats.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your message was sent. Thank you for contacting us, we will be in touch shortly your help. Unfortunately, it's still coming through as code. I corrected the html and verified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
;lt;html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as "Borrower"
or "Co-Borrower," as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the "Borrower" (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="698" height="14" border="2" cellspacing="0" bgcolor="#CCFFFF">
<tr>
<td><div align="center">
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="1" cellpadding="3" cellspacing="0">
pe: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;&amrected the html and verified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr&ified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "e;linda@lkcwebdesign.com"e;;
$recipient = "e;linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to&qucoming through as code. I corrected the html and verified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br&Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@2hats.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your message was sent. Thank you for contacting us, we willsubject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
Unfortunately, it's still coming through as code. I corrected the html and verified that my mail program had html. This is the code now:Code: Select all
<? //Who do you want this email to be sent to?
$send_to = "linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<quote;linda@lkcwebdesign.com";
$recipient = "linda@lkcwebdesign.com";
$subject = "Loan Application"e;;
$additional_headers = "e;From: linda@lkcwebdesign.com\r\n"e;;
$additional_headers .="e;Content-type: text/html; charset=iso-8859-1\r\n"e;;
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "e;\r\n"e;;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "e;\r\n"e;;
</head>
<body>
<table width="e;700"e; height="e;7211"e; border="e;1"e; align="e;center"e; cellpadding="e;5"e; cellspacing="e;0"e;>
<tr>
<td width="e;698"e; height="e;7209"e; valign="e;top"e;><div align="e;justify"e;>
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with
the Lender\'s assistance. Applicants should complete this form as &quot;Borrower&quot;
or &quot;Co-Borrower,&quot; as applicable. Co-Borrower information must
also be provided (and the appropriate box checked) when the income or
assets of a person other than the &quot;Borrower&quot; (including the
Borrower\'s spouse) will be used as a basis for loan qualification or
the income or assets of the Borrower\'s spouse will not be used as a
basis for loan qualification, but his or her liabilities must be considered
because the Borrower resides in a community property state, the security
property is a location in a community property state, or the Borrower
is relying on other property located in a community property state as
a basis for repayment of the loan. </p>
</div>
<table width="e;698"e; height="e;14"e; border="e;2"e; cellspacing="e;0"e; bgcolor="e;#CCFFFF"e;>
<tr>
<td><div align="e;center"e;>
<h2>I. TYPE OF MORTAGE AND TERMS OF LOAN</h2>
</div></td>
</tr>
</table>
<br>
<table width=698 border="e;1"e; cellpadding="e;3"e; cellspacing="e;0"e;>
<tr>
<td width="e;211"e;>Mortgage Applied For <br>
'.$Mort_Type.'
<td width="e;90"e;>Amount <br>
'.$Amount.'
<td width="e;104"e;>Int. Rate <br>
'.$Int_Rate.'
<td width="e;116"e;>Duration <br>
'.$No_Months.'
<td width="e;135"e;>Amortization <br>
'.$Amort_Type.'
</td>
</td>
</td>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
if(!mail( "e;$send_to"e;, "e;ASAsZXzsczxcZXC"e;,"e;$vars"e;, "e;From: <noreply@2hats.test>"e;))
{
echo "e;Your message could not be sent. Please call our office at the number below\n"e;;
}
else
{
echo "e;Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"e;;
}
?&gn Application";
$additional_headers = "From: linda@lkcwebdesign.com\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$email_body =
'
<html>
<head>
<title>Uniform Residential Loan Application</title>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
</head>
<body>
<table width="700" height="7211" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="698" height="7209" valign="top"><div align="justify">
<h1>Uniform Residential Loan Application </h1>
<p >This application is designed to be completed by the applicant(s) with