Outputting to Email in HTML format
Moderator: General Moderators
Outputting to Email in HTML format
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);$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);
l@address.com";
$subject = "Email subject";
$email_body = "Body of email";
$additional_headers = "e;From: you@yourdomain.com\r\n"e;;
$additional_headers .="e;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);$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, $addiharset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
rch, I'll post a code
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);$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headersp;quote;;
mail($recipient, $subject, $email_body, $additional_headers);
mail";
$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);
\r\n";
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
make you search, I'll post a code
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
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);$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
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);
nal_headers);
/html; charset=iso-8859-1\r\n";
mail($recipient, $subject, $email_body, $additional_headers);
;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);
h, I'll post a code
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);mail($recipient, $subject, $email_body, $additional_headers);
make you search, I'll post a code
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);$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"e;;
mail($recipient, $subject, $email_body, $additional_headers);
il($recipient, $subject, $email_body, $additional_headers);
ote;;
$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);
make you search, I'll post a code
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);...
- 1. I am 20, no old age
2. I am bored
3. You realize the search function is a valuable tool
4. You've probably answered this question a thousand times
5. I'm sure there's more
Code: Select all
$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.hat \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.29dec0]
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n"e;;
I'd check that \r\n if I were you. Som$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead./php]
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.t-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead. it. Use \n instead.eaders .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.instead.$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.ote;Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead. really don't like it. Use \n instead.quote;Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.e \n instead.te;;
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.ders .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead. Use \n instead.t/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n insteadr agents really don't like it. Use \n instead.$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.ally don't like it. Use \n instead.you. Some mail transfer agents really don't like it. Use \n instead.sfer agents really don't like it. Use \n instead.$additional_headers .="Content-type: text/html; charset=iso-8859-1\r\n";
I'd check that \r\n if I were you. Some mail transfer agents really don't like it. Use \n instead.
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!"; }edit: id delete the post above this, but I don't see the button
the $vars = ' line doesn't need to be there, and is probably messing up yous)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(n sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(p]if(mail($sent_to, $subject, $message, $additional_headers)){ echo "e;Mail has been sent."e;; } ELSE { echo "e;ERROR!"e;; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: p]if(mail($sent_to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(rs)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(ail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(ct, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(e]if(mail($sent_to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button
edit: id delete the post above this, but I don't see the button
edit: id delete the post above this, but I don't see the button :(dit: id delete the post above this, but I don't see the button :(p]if(mail($sent_to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: p]
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(t_to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button
edit: id delete the post above this, but I don't see the button :(ars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(ote;Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button :(if(mail($sent_to, $subject, $message, $additional_headers)){ echo "Mail has been sent."; } ELSE { echo "ERROR!"; }
the $vars = ' line doesn't need to be there, and is probably messing up your code
edit: id delete the post above this, but I don't see the button
its a bit sloppy, when I pasted it into my editor it was all one line
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!"; }
?>Also, make sure the email program you're trying to view this in supports HTML into my editor it was all one line
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!"; }
?><? //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 = "e;From: linda@lkcwebdesign.com\r\n";
$additional_headers .="e;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(mail($send_to,$subject,$email_body,$additional_headers)){ echo "e;SUCCESS!"e;; } ELSE { echo "e;FAILURE!&quois 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"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(mail($send_to,$subject,$email_body,$additional_headers)){ echo "e;SUCCESS!"e;; } ELSE { echo "e;FAILURE!"e;; }
?>
//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="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& a bit sloppy, when I pasted it into my editor it was all one line
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!"; }
?>Also, make sure t a bit sloppy, when I pasted it into my editor it was all one line
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!"; }
?>m: 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="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> , when I pasted it into my editor it was all one line
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!"; }
?>Also, make sure the email program you're trying to viem\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!"; }
?>
On a side note, your HTML is a little messed up (the second table), there's no <TR></TR> and you didn't close the table cells </TD>
Also, make sure the email program you're trying to view this in supports HTML;quote; 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>
&am;;
$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"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(mail($send_to,$subject,$email_body,$additional_headers)){ echo "e;SUCCESS!"e;; } ELSE { echo "e;FAILURE!"e;; }
?>
On a side note, your HTML is a little messed up (the second"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="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.'
&
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