how about emailing a link to where the file is allowing it to be
downloaded, base64 encoded files are 33% larger than the original.
Some mail servers don't like large atachments.

On Jan 14, 3:40 pm, Super Steve <[email protected]> wrote:
> I'm writing a little script that will backup MySQL databases and email
> the backups to me.
>
> I'm using mail() and the backups are attached to the message in
> base64.
>
> Everything is working fine except if the backup is larger than about
> 7MB, in which case the call to mail() seems to hang.  No error
> messages are generated and the script doesn't even seem to time out
> (I've left it running for over half an hour!)  Smaller backups are
> being sent ok.
>
> Is this a known problem with mail()?
>
> I'm using PHP 4.4.7
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to