Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 9:26 PM, Alexis phplis...@antonakis.co.uk wrote:

 I am hitting my head over a problem with Mime Mail...which i am hoping
 some kind some can help me out on please

 The email is sent out fine and when viewing the source, appears to be
 fine, however neither the body of the email, nor the attachment are showing
 up when I view or open the email.


 I have checked the headers of the email which I have copied below, and I
 cannot see a problem with them, perhaps someone else can please.

 MTIA
 Alexis

 ---Headers---

 MIME-Version: 1.0
 Content-Type: multipart/mixed;
boundary=**a528ff729471083523feb6e73a0b9f**f7

 This is a multi-part message in MIME format.

 --**a528ff729471083523feb6e73a0b9f**f7
 Content-Type: text/plain;
charset=iso-8859-1
 Content-Transfer-Encoding: 7bit

 Daily Backups

 --**a528ff729471083523feb6e73a0b9f**f7
 Content-Type: text/plain;
name=Backup_LEPA_2012-03-25.**txt
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
filename=Backup_LEPA_2012-03-**25.txt

 IkRhdGUiLCJUaW1lIiwiRmx0Tm8iLC**JBbHRGbHRObyIsIlJvdXRlIiwiUmVn**
 IgoiMjAxMi0wMy0y
 ...middle deleted.
 LUlTTiIKIjIwMTItMDMtMjUiLCIyMz**o0MCIsIlVYMTI5OCIsIiIsIk9SWS1Q**
 TUkiLCJFQy1LWEQi
 Cg==

 --**a528ff729471083523feb6e73a0b9f**f7--



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


if none is showing up, make sure you do the boundary as it should be.
and append new lines where necessary. cannot tell you much by looking at
the source your
where it includes some parts deleted.


Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis

Thanks Faith

What exactly do you mean by 'Make sure the boundary is as it should be', 
please?


Here is the full uncensored info, the data is not sensitive anyway, 
minus the initial standard email headers.


Thanks
Alexis


MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=a528ff729471083523feb6e73a0b9ff7

This is a multi-part message in MIME format.

--a528ff729471083523feb6e73a0b9ff7
Content-Type:text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Daily Backups

--a528ff729471083523feb6e73a0b9ff7
Content-Type: text/plain; name=Backup_LEPA_2012-03-25.csv
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=Backup_LEPA_2012-03-25.csv

IkRhdGUiLCJUaW1lIiwiRmx0Tm8iLCJBbHRGbHRObyIsIlJvdXRlIiwiUmVnIgoiMjAxMi0wMy0y
NSIsIjA2OjI1IiwiRlIwNzAzIiwiIiwiUE1JLUtSSyIsIkVJLUVOUCIKIjIwMTItMDMtMjUiLCIw
NjoyNSIsIkZSNjM2MyIsIiIsIlBNSS1CQ04iLCJFSS1FVkMiCiIyMDEyLTAzLTI1IiwiMDY6MzAi
LCJGUjIwNTIiLCIiLCJQTUktTUFEIiwiRUktRENHIgoiMjAxMi0wMy0yNSIsIjA2OjQwIiwiSUIw
Nzk3IiwiIiwiUE1JLU1BRCIsIkVDLUhLTyIKIjIwMTItMDMtMjUiLCIwNzowMCIsIllXODYzMCIs
IiIsIlZMQy1QTUkiLCJFQy1ISEkiCiIyMDEyLTAzLTI1IiwiMDc6MDAiLCJBQjk3MzgiLCJBQjA1
MFkiLCJIQUotUE1JIiwiSEItSk9ZIgoiMjAxMi0wMy0yNSIsIjA3OjAwIiwiVVg0MDA1IiwiIiwi
UE1JLVZMQyIsIkVDLUtYRCIKIjIwMTItMDMtMjUiLCIwNzowMCIsIlVYNjAwNiIsIiIsIlBNSS1C
Q04iLCJFQy1MTFIiCiIyMDEyLTAzLTI1IiwiMDc6MDUiLCJZVzgwMTkiLCIiLCJQTUktTUFEIiwi
IgoiMjAxMi0wMy0yNSIsIjA3OjE1IiwiQUIyMjIyIiwiQUIwNDhEIiwiQ0dOLVBNSSIsIkQtQUJL
VCIKIjIwMTItMDMtMjUiLCIwNzoxNSIsIkZSMzQ5NCIsIiIsIlBNSS1UUkYiLCJFSS1FVksiCiIy
MDEyLTAzLTI1IiwiMDc6MjUiLCJERTczOTgiLCIiL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wiQkNOLVBNSSIsIkVDLUhURCIKIjIwMTItMDMtMjUiLCIwOTo0MCIsIllXODQ4MiIs
IiIsIlBNSS1NQUgiLCIiCiIyMDEyLTAzLTI1IiwiMDk6NDUiLCJJQjI0NDkiLCIiLCJQTUktTUFE
IiwiIgoiMjAxMi0wMy0yNSIsIjA5OjQ1IiwiRFdUMTM2MCIsIiIsIkJSTi1QTUkiLCIiCiIyMDEy

Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
If I insert the full stop after the \n then the output stops just before 
the fullstop.


Currently I have \r\n \r\n
That is a space between the two sets of \r\n's.  I tried it without any 
spaces and still got the same result.


Would it be better if I post the code that creates the headers?
I avoided doing that first as I was wondering if I got the headers 
themselves correct?


btw sorry for calling you Faith before, I misread your name, Fatih

Alexis
On 28/03/12 14:25, Fatih P. wrote:



--a528ff729471083523feb6e73a0b9ff7--



can you try to end your message with \r\n.\r\n and let's see the result?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 11:44 PM, Alexis phplis...@antonakis.co.uk wrote:

 If I insert the full stop after the \n then the output stops just before
 the fullstop.

 Currently I have \r\n \r\n
 That is a space between the two sets of \r\n's.  I tried it without any
 spaces and still got the same result.

 Would it be better if I post the code that creates the headers?
 I avoided doing that first as I was wondering if I got the headers
 themselves correct?

 btw sorry for calling you Faith before, I misread your name, Fatih

 Alexis


I guess it is better to see your code. that creates the headers and body
parts too.


Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
Actually Fatih, I have also been playing around with the PEAR mimemail 
option and have just got that to work, so will not be pursuing this 
problem any further, but thank you very much for the time you spent 
helping me.


Alexis

On 28/03/12 14:50, Fatih P. wrote:

On Wed, Mar 28, 2012 at 11:44 PM, Alexisphplis...@antonakis.co.uk  wrote:


If I insert the full stop after the \n then the output stops just before
the fullstop.

Currently I have \r\n \r\n
That is a space between the two sets of \r\n's.  I tried it without any
spaces and still got the same result.

Would it be better if I post the code that creates the headers?
I avoided doing that first as I was wondering if I got the headers
themselves correct?

btw sorry for calling you Faith before, I misread your name, Fatih

Alexis



I guess it is better to see your code. that creates the headers and body
parts too.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Mime Mail problem

2012-03-28 Thread tamouse mailing lists
On Wed, Mar 28, 2012 at 3:53 PM, Alexis phplis...@antonakis.co.uk wrote:
 Actually Fatih, I have also been playing around with the PEAR mimemail
 option and have just got that to work, so will not be pursuing this problem
 any further, but thank you very much for the time you spent helping me.

 Alexis


 On 28/03/12 14:50, Fatih P. wrote:

 On Wed, Mar 28, 2012 at 11:44 PM, Alexisphplis...@antonakis.co.uk
  wrote:

 If I insert the full stop after the \n then the output stops just before
 the fullstop.

 Currently I have \r\n \r\n
 That is a space between the two sets of \r\n's.  I tried it without any
 spaces and still got the same result.

 Would it be better if I post the code that creates the headers?
 I avoided doing that first as I was wondering if I got the headers
 themselves correct?

 btw sorry for calling you Faith before, I misread your name, Fatih

 Alexis



 I guess it is better to see your code. that creates the headers and body
 parts too.


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


Another alternative that I use is phpmailer
http://code.google.com/a/apache-extras.org/p/phpmailer/ which has a
lot of features, MIME attachments being only one of.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php