[PHP] Attachments and SendMail()

2005-11-08 Thread Todd Cary
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 absolute address of /home/sites/home/web/php/images/raceschd.pdf; and all worked fine when I gave that as the location of the attachement:

[PHP] Attachments with Mail()

2003-10-23 Thread Don Mc Nair
Hi 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); Thanks Don --- Outgoing mail is certified Virus

Re: [PHP] Attachments with Mail()

2003-10-23 Thread Evan Nemerson
PEAR has a class which may be helpful. http://pear.php.net/package/Mail_Mime On Thursday 23 October 2003 04:13 am, Don Mc Nair wrote: Hi 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;

[PHP] Attachments

2002-04-24 Thread The_RadiX
I have read briefly through past topics.. Just wanted to know: A) How do you use attachments in the: mail() function B) how using attachments would I compose an email to batch off using text/html as a optional item if the client supports it or use the default text/plain ?? Thx a heap

Re: [PHP] Attachments

2002-04-24 Thread Richard Emery
GOOGLE found this on first try http://www.zend.com/zend/spotlight/sendmimeemailpart1.php - Original Message - From: The_RadiX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 24, 2002 7:22 AM Subject: [PHP] Attachments I have read briefly through past topics.. Just

Re: [PHP] Attachments

2002-04-24 Thread Liam MacKenzie
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili ties/ - Original Message - From: The_RadiX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 24, 2002 10:22 PM Subject: [PHP] Attachments I have read briefly through past topics.. Just wanted

Re: [PHP] Attachments

2002-04-22 Thread Jason Wong
On Monday 22 April 2002 02:33, Jason Soza wrote: Hmm... Okay, I used this script I found on hotscripts - it copies the entire file to the specified directory: echo pcenterTrying to upload to: . $upload_path . $filename . /center/p\n; if (

Re: [PHP] Attachments

2002-04-22 Thread Jason Soza
to an incoming directory with a timestamp prefix, so I can match the e-mails with the uploads. This should be a fairly straightforward task, correct? Jason Soza - Original Message - From: Jason Wong [EMAIL PROTECTED] Date: Monday, April 22, 2002 0:54 am Subject: Re: [PHP] Attachments snip

Re: [PHP] Attachments

2002-04-21 Thread Jason Wong
On Sunday 21 April 2002 06:02, Jason Soza wrote: They actually vary as to where they become truncated - some are at 633 bytes, some are at 1kb. The odd thing is that the PHP script I'm using to process the form actually pics up the correct filesize, it reports it to me under a $filesize

RE: [PHP] Attachments

2002-04-21 Thread Jason Soza
: [PHP] Attachments On Sunday 21 April 2002 06:02, Jason Soza wrote: They actually vary as to where they become truncated - some are at 633 bytes, some are at 1kb. The odd thing is that the PHP script I'm using to process the form actually pics up the correct filesize, it reports it to me under

Re: [PHP] Attachments

2002-04-21 Thread Jason Wong
On Monday 22 April 2002 01:51, Jason Soza wrote: I haven't been able to identify what process actually truncates the file. This should be the easiest to nail down. Add a bit of code so that when the file gets uploaded, it gets copied somewhere, then you can manually check its size. Obviously,

RE: [PHP] Attachments

2002-04-21 Thread Jason Soza
. $message[incomplete]./font/center/p; } Now why would this work but the e-mail scripts not? -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 21, 2002 10:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Attachments On Monday 22

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
? Thanks again. Jason -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:36 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Attachments On Saturday 20 April 2002 12:29, Jason Soza wrote: Using both Perl and PHP to send mail with attachments from forms

Re: [PHP] Attachments

2002-04-20 Thread Jason Wong
On Saturday 20 April 2002 18:25, Jason Soza wrote: Sorry for the thread thing, I wasn't aware I was causing probs. I usually just use Reply to save having to enter the e-mail address, just laziness. I'll keep from doing in this in the future, thanks for letting me know. Thanks, you'll annoy

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
for your help, Jason -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 3:32 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Attachments I'm using 'POST' in my forms - any other ideas or places I could check? Thanks again. There are a couple

[PHP] Attachments

2002-04-19 Thread Jason Soza
I apologize in advance, this question most likely doesn't belong here, but if anyone can help that'd be great: Using both Perl and PHP to send mail with attachments from forms, the attachments get truncated. Since both Perl scripts and PHP scripts do this, I'm ruling out coding error, and since

Re: [PHP] Attachments

2002-04-19 Thread Jason Wong
On Saturday 20 April 2002 12:29, Jason Soza wrote: Using both Perl and PHP to send mail with attachments from forms, the attachments get truncated. Since both Perl scripts and PHP scripts do this, I'm ruling out coding error, and since my mailserver has been receiving e-mails from other

Re: [PHP] Attachments with mail() function

2002-01-30 Thread Edward van Bilderbeek - Bean IT
, January 30, 2002 3:11 AM Subject: [PHP] Attachments with mail() function How can I send a simple file as attachment using the mail function ? Can anyone give me a simple example ? Thanks Rafael Perazzo _ Do You Yahoo!? Get your free

RE: [PHP] Attachments with mail() function

2002-01-29 Thread Boaz Yahav
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 4:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Attachments with mail() function How can I send a simple file as attachment using the mail function ? Can anyone give me a simple example ? Thanks Rafael Perazzo

[PHP] Attachments again

2001-11-12 Thread Oosten, Sjoerd van
Hi, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not required when

Re: [PHP] Attachments again

2001-11-12 Thread PHPGalaxy.com
I've found a great SMTP class file that supports file attachments. Its just a few lines of code that base64_encode's the attachment, and sticks it at the end of the email. I guess just rip whatever code ya need out of this, for doing attachments, and insert it into your own. Maybe do a little RFC

RE: [PHP] Attachments again

2001-11-12 Thread Caspar Kennerdale
On the attachment subject, does anyone know how to specify multiple mime types? I have my attachment script, however people may be using it to send gifs, swfs, or text files I am specifyinmg the mime types like this $type = image/gif; $header .= Content-Type: $type; wuld I do something

Re: [PHP] Attachments again

2001-11-12 Thread DL Neil
Hi Sjoerd, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not

[PHP] attachments

2001-08-21 Thread Nicholas Thompson
I am currently using an e-mail page that supports uploads, but does anyone know how to get the attachment to actually attach to the message? (perhaps even upload it to other mail servers like yaho) Uploading to my server is fine, but when I send messages with attachments and check my mail

[PHP] Attachments in POP

2001-06-20 Thread Ker Ruben Ramos
Why are attachments in POP cannot be viewed in latest IMP? but if I use IMAP, it works just fine.

Re: [PHP] Attachments in POP

2001-06-20 Thread Ker Ruben Ramos
oops :) sorry... used the wrong lists - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Ker Ruben Ramos [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 10:59 PM Subject: Re: [PHP] Attachments in POP Why are attachments in POP cannot be viewed in latest IMP? but if I

[PHP] attachments in mail

2001-04-12 Thread Dan Cleveland
How can i include a file as an attachment in an email? I'm looking for something like this... mail($to_email,%subject,$content,$attached_file); Thanks in advance! Dan +---+ |

Re: [PHP] attachments with mail() function

2001-03-25 Thread BlackLord
Thank you Michael. I will look for mime_mail classes. "Michael Hall" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm not sure about including them in the mail function as such, but it can certainly be done using one of several mime_mail classes that are

[PHP] attachments with mail() function

2001-03-24 Thread BlackLord
Is there anyway to include attachments in mail() function? If you give a small example, it will be great. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,