[PHP] Re: Attachments and SendMail()

2005-11-08 Thread Todd Cary
I figured it out! The base location for SendMail is the php directory. Now that I think about it, that makes sense. Todd Todd Cary wrote: I have had to move an application for a client from a dedicated server to a shared server. On the dedicated server, the path to the attachements was an

Re: [PHP] Re: Attachments and SendMail()

2005-11-08 Thread Richard Lynch
On Tue, November 8, 2005 4:00 pm, Todd Cary wrote: I figured it out! The base location for SendMail is the php directory. Now that I think about it, that makes sense. Personally, I would recommend finding out what the absolute path is anyway. You'll need it sooner or later. Unfortunately,

[PHP] Re: Attachments with Mail()

2003-10-23 Thread Manuel Lemos
Hello, On 10/23/2003 09:13 AM, Don Mc Nair wrote: Can anyone tell me how to add a file as an attachment to an email sent with something like the following ? $headers = From: .$fromaddress.\r\n; $headers .= Reply-To: $fromaddress\r\n; mail($toaddress, $subject, $mailcontent, $headers); You

[PHP] Re: attachments

2001-08-21 Thread Richard Lynch
You need to not just use the mail() function, but use something like Manuel Lemos' mail class that does the mime-encoding needed to do attachments... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: