I found the culprit!
I copied the filereading part without checking too good, and it had an
"addslashes" call which ruined the file content very professionaly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Wong wrote:
> On Thursday 02 May 2002 19:31, 1LT John W. Holmes wrote:
> > > Do we have to upload the file first, which is to be attached?
> >
> > No. When you press the submit button, just speak slowly and clearly where
> > the file is and PHP will understand you. What kind of video card d
In article <001401c1f1cc$f5461dc0$2f7e3393@TB447CCO3>,
[EMAIL PROTECTED] says...
> > Do we have to upload the file first, which is to be attached?
>
> No. When you press the submit button, just speak slowly and clearly where
> the file is and PHP will understand you. What kind of video card do y
On Thursday 02 May 2002 19:31, 1LT John W. Holmes wrote:
> > Do we have to upload the file first, which is to be attached?
>
> No. When you press the submit button, just speak slowly and clearly where
> the file is and PHP will understand you. What kind of video card do you
> have?
I prefer faxin
> Do we have to upload the file first, which is to be attached?
No. When you press the submit button, just speak slowly and clearly where
the file is and PHP will understand you. What kind of video card do you
have?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Thanxs... I couldn't use your script (because of my lack of experiencie
maybe) but you gave me a very good hint about what to look for.
I sent an attachment (with a class located in this URL :
http://renoir.vill.edu/~ylee/mailfile.txt), but that wasn't what my boss was
thinking of.
(Now he tells !
This should do the trick, experiment wit hit;
function mail_attachment($email, $buffer)
{
//subject
$subject = "Testing pdf attachment.."
//sender
$x_sender = "F. Hertogs";
//extra (optional) headers
$x_headers = "From: [EMAIL PROTECTED]\n";
$x_headers .= "PHP mailer\n";
$x_headers .= "MIME-ver
> I know how to send a standard email, but I`m having a bit of trouble
adding
> an attachment, can anyone put me right?
>
> this is my code which works fine...
>
> $subject="Hi";
> $email="[EMAIL PROTECTED]";
> $from="[EMAIL PROTECTED]";
> $message="Hi this is me testing my PHP mail script";
>
> m
8 matches
Mail list logo