Jump to content

Recommended Posts

ok hi guys ..

 

firstly i have this script and it works 100% it sends me the mail the user sent and sends the user a thank u email now i want that email thats sent to the user to have some style here is my email script and then the email i saved from outlook express please show me how to add them 2gether so i can send the user a smart email thanks in advance

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Sendemail Script</title>
</head>
<body>

<!-- Reminder: Add the link for the 'next page' (at the bottom) --> 
<!-- Reminder: Change 'YourEmail' to Your real email --> 

<?php

$ip = $_POST['ip']; 
$httpref = $_POST['httpref']; 
$httpagent = $_POST['httpagent']; 
$visitor = $_POST['visitor']; 
$visitormail = $_POST['visitormail']; 
$notes = $_POST['notes'];
$attn = $_POST['attn'];

if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) 
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n"; 
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
echo $badinput;
die ("Go back! ! ");
}

if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo "<h2>Use Back - fill in all fields</h2>\n";
die ("Use back! ! "); 
}

$todayis = date('l dS F Y') ;

$attn = $attn ; 
$subject = $attn; 

$notes = stripcslashes($notes); 

$message = " $todayis \n
Attention: $attn \n
From: $visitor \n
Message: $notes \n 
";

$from = "From: $visitormail\r\n";


mail("support@bhawap.com", $subject, $message, $from);
mail($visitormail, "Thank you for your interest in Jooma Properties", " Hello \n \n Thank you for your interest in Jooma Property. \n A representative will be contacting you soon.\n ---- \n Jooma Property Support Team", "From: support@bhawap.com");

?>

<p align="center">
Date: <?php echo $todayis ?> 
<br />
Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> ) 
<br />

Attention: <?php echo $attn ?>
<br /> 
Message:<br /> 
<?php $notesout = str_replace("\r", "<br/>", $notes); 
echo $notesout; ?> 
<br />
<?php echo $ip ?> 

<br /><br />
<a href="contact.php"> Next Page </a> 
</p> 

</body>
</html>

and the code from the outlook express email

From: "Bhawap" <zainul@bhawap.com>
Subject: 
Date: Mon, 7 Dec 2009 23:00:17 +0200
MIME-Version: 1.0
Content-Type: multipart/related;
type="multipart/alternative";
boundary="----=_NextPart_000_0021_01CA7791.1051F3D0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Unsent: 1
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579

This is a multi-part message in MIME format.

------=_NextPart_000_0021_01CA7791.1051F3D0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0022_01CA7791.1051F3D0"


------=_NextPart_001_0022_01CA7791.1051F3D0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Leaves
Jooma Properties




Thank  you for your interestin Jooma Properties, A Representive Will Be =
Contacting You Soon.=20


Yours Sincerely
Shahin Jooma
-------------------------------------------------------------------------=
-------

Contact information

Office: 033 342 7866
Mobile: 082 45 00 222

-------------------------------------------------------------------------=
-------





------=_NextPart_001_0022_01CA7791.1051F3D0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=3DridTitle>Leaves</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-FAMILY: Arial, Helvetica; COLOR: #993300; =
MARGIN-LEFT: 15px; FONT-SIZE: 10pt
}
</STYLE>

<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18852"></HEAD>
<BODY id=3DridBody =
background=3Dcid:3156CF61093B4589A405B7C21B3BC7A3@zainul41bd8935=20
bgColor=3D#ffffff>
<DIV><FONT color=3D#000000></FONT> </DIV>
<DIV style=3D"FONT: 10pt arial" align=3Dcenter><EM><FONT color=3D#008000 =
size=3D7=20
face=3D"Abadi MT Condensed Extra Bold"><STRONG>Jooma=20
Properties</STRONG></FONT></EM></DIV>
<DIV><BR></DIV>
<CENTER><IMG style=3D"WIDTH: 600px; HEIGHT: 61px" id=3DridImg =
align=3Dbottom=20
src=3D"cid:82A85EF3612848D3878F0B4DDF7B57E5@zainul41bd8935" width=3D600=20
height=3D71></CENTER>
<P></P>
<DIV><FONT color=3D#000000><FONT color=3D#993300><STRONG>Thank  you =
for your=20
interestin Jooma Properties, A Representive Will Be Contacting You=20
Soon</STRONG></FONT></FONT><FONT color=3D#000000>. </FONT></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>Yours Sincerely</STRONG></DIV>
<DIV><STRONG>Shahin Jooma
<HR>
</STRONG></DIV>
<DIV><STRONG><EM><U>Contact information</U></EM></STRONG></DIV>
<DIV><FONT color=3D#000000 size=3D1></FONT> </DIV>
<DIV><STRONG>Office: 033 342 7866</STRONG><BR><STRONG>Mobile: 082 45 00=20
222</STRONG></DIV><STRONG></STRONG>
<HR>

<P><FONT =
color=3D#000000></FONT> </P><STRONG></STRONG><BR><BR></BODY></HTML>

------=_NextPart_001_0022_01CA7791.1051F3D0--

------=_NextPart_000_0021_01CA7791.1051F3D0
Content-Type: application/octet-stream;
name="aleabanr.gif"
Content-Transfer-Encoding: base64
Content-ID: <82A85EF3612848D3878F0B4DDF7B57E5@zainul41bd8935>

R0lGODlhWAI8ANX/AP+ZM/9mAMzMM8yZZsyZM8yZAMxmZsxmM8xmAMwzM8wzAMDAwJmZZpmZM5mZ
AJlmZplmM5lmAJkzZpkzM5kzAJkAAGZmZmZmM2ZmAGYzZmYzM2YzAGYAADNmMzMzMzMzADMAMzMA
AAAzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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SlJjFpSlOe
7AKz8EvP0McTZiHNiuaBqLGoNZrdLcNxHBmOWs5mpG82c6HUBNQU/x9Em5qgy00G4akylkgdv8Tk
CyFxVu70Bg2jUqinX/wp2qCApzLojYzNgyVSneRONFhRGjs9l2okkhPOGEx/TLWp35qqIZwQgo1U
DY5PmYed2Dnjh7fb3V2ggQhlKsFPghRTFj6VoIla9FNMEJknMYe5D4T0lBYtyyZXGQsWfjOIGfxn
0WDSEnfKJE1ElVIaEIPOwBrCrdQzJ0bkuc0AsiMOqGGTvYrVOMOFhDwp9a1sDRvECd3ETX795W+O
A1NzZjGRMqutZ5S02vNZyF3cg61zIyNccn5mrsaFR9B0EhRhYM0hLVXtL4kLO+QRC6VC8hBW+TqM
bhnruMPs69eM4LMn/e6Xv/v9AFciG+D+DpjABTbwgRGcYAUvmMENdvCDIRxhCU+YwhW28IUxnGEN
b1gEsNhYRquyYRGPmMQlNvGJUZxiFa+YxS1O8AJgHGMZz5jGNbZxjCvxKAYswFEQuPGPgRxkIQ+Z
yEU28pGRnGQlL5nJTXbyk6EcZSlPmcpVtvKVq0yVCsSYAlj28pfBHGYxj5nMZTbzmdGcZjUDmQGO
2vGa4RxnOc+ZznW2853xnOQgAAA7

------=_NextPart_000_0021_01CA7791.1051F3D0
Content-Type: application/octet-stream;
name="Leaves Bkgrd.jpg"
Content-Transfer-Encoding: base64
Content-ID: <3156CF61093B4589A405B7C21B3BC7A3@zainul41bd8935>

/9j/4AAQSkZJRgABAgEASABIAAD/7QZAUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA
AQBIAAAAAQABOEJJTQPzAAAAAAAIAAAAAAAAAAA4QklNBAoAAAAAAAEAADhCSU0nEAAAAAAACgAB
AAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEAL2ZmAAEAoZmaAAYAAAAAAAEA
MgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklNA/gAAAAAAHAAAP//////////
//////////////////8D6AAAAAD/////////////////////////////A+gAAAAA////////////
/////////////////wPoAAAAAP////////////////////////////8D6AAAOEJJTQQIAAAAAAAQ
AAAAAQAAAkAAAAJAAAAAADhCSU0ECQAAAAAEzwAAAAEAAACAAAAAgAAAAYAAAMAAAAAEswAYAAH/
2P/gABBKRklGAAECAQBIAEgAAP/+ACdGaWxlIHdyaXR0ZW4gYnkgQWRvYmUgUGhvdG9zaG9wqCA0
LjAA/+4ADkFkb2JlAGSAAAAAAf/bAIQADAgICAkIDAkJDBELCgsRFQ8MDA8VGBMTFRMTGBEMDAwM
DAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAENCwsNDg0QDg4QFA4ODhQUDg4ODhQRDAwM
DAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAgACAAwEiAAIRAQMR
Af/dAAQACP/EAT8AAAEFAQEBAQEBAAAAAAAAAAMAAQIEBQYHCAkKCwEAAQUBAQEBAQEAAAAAAAAA
AQACAwQFBgcICQoLEAABBAEDAgQCBQcGCAUDDDMBAAIRAwQhEjEFQVFhEyJxgTIGFJGhsUIjJBVS
wWIzNHKC0UMHJZJT8OHxY3M1FqKygyZEk1RkRcKjdDYX0lXiZfKzhMPTdePzRieUpIW0lcTU5PSl
tcXV5fVWZnaGlqa2xtbm9jdHV2d3h5ent8fX5/cRAAICAQIEBAMEBQYHBwYFNQEAAhEDITESBEFR
YXEiEwUygZEUobFCI8FS0fAzJGLhcoKSQ1MVY3M08SUGFqKygwcmNcLSRJNUoxdkRVU2dGXi8rOE
w9N14/NGlKSFtJXE1OT0pbXF1eX1VmZ2hpamtsbW5vYnN0dXZ3eHl6e3x//aAAwDAQACEQMRAD8A
6/v5hJJLhPYlA/glwklMpKVolP3pp7p++iSldvNKR3+SRS8klK+SU+CRSSUrv5JSOEo7pT2SUpKN
EpMeJSJSUr4pJdkvjykp/9Dr+QkJIShKQT8E9iUEvJJLVJ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L8EYKox9n7Q+lokrBB8kkZIwQqY
qvZiyehzoS6O+ysc5Op4XWyNEFmIjfMqhmJ8I+hdbLxw7nwV42UZyekY7PETB8E6JWDw/pEEctYj
RVwTEEjg8I/0hI92T3ji8HjIbvs9QlviFkTxGUdrYqzgsnKeD0vJi9lYITtlo8Z2tirOCycp4P/Z

------=_NextPart_000_0021_01CA7791.1051F3D0--

Take a look at the mail() function in the PHP Manual and notably look at example #4. I believe you want to send the EMail as an HTML email. If not then disregard this and please elaborate on what you want as I am confused ;)

see i tried it this way but it does not work it sends the html code lol

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Sendemail Script</title>
</head>
<body>

<!-- Reminder: Add the link for the 'next page' (at the bottom) --> 
<!-- Reminder: Change 'YourEmail' to Your real email --> 

<?php

$ip = $_POST['ip']; 
$httpref = $_POST['httpref']; 
$httpagent = $_POST['httpagent']; 
$visitor = $_POST['visitor']; 
$visitormail = $_POST['visitormail']; 
$notes = $_POST['notes'];
$attn = $_POST['attn'];

if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) 
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n"; 
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
echo $badinput;
die ("Go back! ! ");
}

if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo "<h2>Use Back - fill in all fields</h2>\n";
die ("Use back! ! "); 
}

$todayis = date('l dS F Y') ;

$attn = $attn ; 
$subject = $attn; 

$notes = stripcslashes($notes); 

$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$responce = '
<html>
<head>
<title>BhasIRC Network</title>
</head>
<body link="#c6baad" bgcolor="#c6baad" text="#00ffff" vlink="#333399">
<center><strong><em><font color="#008000" size="7" face="Abadi MT Condensed Extra Bold">Jooma Properties</font></em></strong><br><img style="WIDTH: 523px; HEIGHT: 61px" border=1 alt="" src="untitled2.gif" width=323 height=118><br><br><br><br><br>
<div align="left"><font color="#000000"><font color="#993300"><strong>
<div><font color="#000000"><font color="#993300"><strong>Thank  you for your interestin Jooma Properties, A Representive Will Be Contacting You Soon</strong></font></font><font color="#000000">. </font></div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div><strong>Yours Sincerely</strong></div>
<div><strong>Shahin Jooma <hr>
</strong></div>
<div><strong><em><u>Contact information</u></em></strong></div>
<div><font color="#000000" size="1"></font> </div>
<div><strong>Office: 033 32 7866</strong><br><strong>Mobile: 082 4 00 222</strong></div><strong></strong>
<hr>
</strong></font></font></div></center>
</body>
</html>
';


$message = " $todayis \n
Attention: $attn \n
From: $visitor \n
Message: $notes \n 
";

$from = "From: $visitormail\r\n";


mail("support@bhawap.com", $subject, $message, $from);
mail($visitormail, "Thank you for your interest in Jooma Properties", $responce, $headers, "From: support@bhawap.com");

?>

<p align="center">
Date: <?php echo $todayis ?> 
<br />
Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> ) 
<br />

Attention: <?php echo $attn ?>
<br /> 
Message:<br /> 
<?php $notesout = str_replace("\r", "<br/>", $notes); 
echo $notesout; ?> 
<br />
<?php echo $ip ?> 

<br /><br />
<a href="contact.php"> Next Page </a> 
</p> 

</body>
</html>

if u want i can send u an email to show u how i want this to look maybe then u might understand

 

No.

 

As far as it not working, is Outlook Express setup to receive HTML emails? Or does it automatically convert them to text. Check your settings and see if that is the issue.

try changing:

 

mail($visitormail, "Thank you for your interest in Jooma Properties", $responce, $headers, "From: support@bhawap.com");

 

to:

 

mail($visitormail, "Thank you for your interest in Jooma Properties", $responce, $headers, "-fsupport@bhawap.com");

Not that this is the problem, but you have a bad parameter sent with the visitor email:

mail($visitormail, "Thank you for your interest in Jooma Properties", $responce, $headers, "From: support@bhawap.com");

 

I do not think that is valid, here is the corrected condition and hopefully that fixes the html portion of the email.

mail($visitormail, "Thank you for your interest in Jooma Properties", $responce, $headers, "-fsupport@bhawap.com");

 

Would be the valid way to do that.  If that does not work, perhaps your host has certain restrictions on it or try and use PEAR::Mail_Mime possibly.

 

EDIT:

Marcus beat me to the flag portion, but yea posting for the extra info.

there's no reason that your code wouldn't send an HTML email.

 

how does your email appear exactly in your inbox?  is the HTML displayed on the page?  ie., does your email look like this:

 

<html>

<head>

<title>BhasIRC Network</title>

</head>

<body link="#c6baad" bgcolor="#c6baad" text="#00ffff" vlink="#333399">

<center><strong><em><font color="#008000" size="7" face="Abadi MT Condensed Extra Bold">Jooma Properties</font></em></strong><br><img style="WIDTH: 523px; HEIGHT: 61px" border=1 alt="" src="untitled2.gif" width=323 height=118><br><br><br><br><br>

<div align="left"><font color="#000000"><font color="#993300"><strong>

<div><font color="#000000"><font color="#993300"><strong>Thank  you for your interestin Jooma Properties, A Representive Will Be Contacting You Soon</strong></font></font><font color="#000000">. </font></div>

<div><strong></strong> </div>

<div><strong></strong> </div>

<div><strong>Yours Sincerely</strong></div>

<div><strong>Shahin Jooma <hr>

</strong></div>

<div><strong><em><u>Contact information</u></em></strong></div>

<div><font color="#000000" size="1"></font> </div>

<div><strong>Office: 033 32 7866</strong><br><strong>Mobile: 082 4 00 222</strong></div><strong></strong>

<hr>

</strong></font></font></div></center>

</body>

</html>

 

or what?

// Pour envoyer un mail HTML, l'en-tête Content-type doit être défini

$headers  .= 'MIME-Version: 1.0' . "\r\n";

$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

 

 

 

Make sure you includes MIME headers in your script...

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.