p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: No email attachment with MIME


Message #1 by "hound" <hound@t...> on Thu, 25 Apr 2002 11:20:52
I have a problem: I want to send emails with attachments with Php as 
explained in Chap. 15, but I can't. I tried doing my own script, but I 
only recive a normal email with a body like:
////////////////////
Content-type: multipart/mixed;
                                      
boundary="46e63d4f3aec0a45a88a5b53440d3b"

This is a multi-part message in MIME format.

--46e63d4f3aec0a4775a88a3440d3b
Content-Type: multipart/mixed
Content-transfer-encoding: 8bit

--46e63d4f3aec0a4775a88a5b53440d3b
Content-type: application/msword; name=data.doc
Content-transfer-encoding:base64

YXZlcmUgaW5mb3JtYXppb25pIHZBlbWFpbCAKIGdkZWdnZGRnaGRhYWE


--46e63d4f3aec0a4775a88a53440d3b
///////////////////

Instead using the scripts I downloaded from the site, I always recive a 
normal email(no attach) but with a body like:

//////////
Content-transfer-encoding: 8bit //---- or 7bit ------//
/////////////////
Can someone help me?
Could it be a problem with restriction on my server?
Thx

  Return to Index