hi everyone, i created a script in which you put your details in on a website and a copy gets sent to the person who put their details in, and a copy gets e-mailed to me.
it all worked fine until today, the copy that got mailed to the user got blocked by their isp
i got an auto reply by the isp's norton filtering software as follows
--- The message cannot be delivered to the following address. ---
someperson@theirisp.com (i changed this obviously, but its an actual address)
Local processing error while delivering message.
Error scanning file: Usually caused by a corrupt attachment, a file not compliant with established encoding standards, or a file exceeding defined container limits.
Any ideas???
the email also got sent back i left the message out for security reasons but it was below the following
Received: from ruapehu.nznameserver.net ([65.19.139.120])
by norton.digiweb.net.nz (NAVGW 2.5.2.9) with SMTP id M2003081112283925468
for <someperson@theirisp.com>; Mon, 11 Aug 2003 12:28:40 +1200
Received: from nobody by ruapehu.nznameserver.net with local (Exim 4.20)
id 19m0aR-0005jk-MA
for someperson@theirisp.com; Mon, 11 Aug 2003 12:30:59 +1200
To: someperson@theirisp.com
Subject: Coachways.com - Automatically generated E-mail - Christiane
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: coachways.com <enquiries@coachways.com>
Message-Id: <E19m0aR-0005jk-MA@ruapehu.nznameserver.net>
Date: Mon, 11 Aug 2003 12:30:59 +1200
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ruapehu.nznameserver.net
X-AntiAbuse: Original Domain - anznaturetours.com
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12]
X-AntiAbuse: Sender Address Domain - coachways.com
this bit is the code that mails to them
//SEND MAIL TO PERSON WHO POSTED
$to = $email;
$subject = "Coachways.com - Automatically generated E-mail - $from";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/ additional headers /
$headers .= "From: coachways.com <enquiries@coachways.com>\r\n";
$messagetosender = "This automated message is a copy of the quotation you requested at http://www.coachways.com";
$messagetosender = $messagetosender."<br />If you have any questions or comments please e-mail us at enquiries@coachways.com , thankyou.<br /><hr>";
$messagetosender = $messagetosender.$message;
mail($to, $subject, $messagetosender, $headers);
the message also contains lots of html tags, tables and stuff
could the html be my problem? i dont know much about headers or anything so the problem could also the there, as im pretty new to mail'ing
help would be greatly appreciated! (sorry about the messy - nature....)