View Single Post
Old 11-02-2005, 12:10   #1
KingPhoenix
Inactive
 
KingPhoenix's Avatar
 
Join Date: Jun 2003
Location: On top of this heat sink
Age: 45
Services: Sky+ & 8mb ADSL + BT Together option 3
Posts: 2,345
KingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze array
KingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze arrayKingPhoenix has a bronze array
Send a message via MSN to KingPhoenix
PHP, sending e-mail with attachment

Hi Guys,

Having a royal pain in the arse session..........

I need to have an entry page where someone enters there e-mail address, that then goes to a PHP script, where a prewritten mail and attachment is sent to the e-mail address entered.....

Ive tried using the mail() function, this sends the e-mail, but not externally (only to local server) so need to use an smtp function (we have a relay service on our network that i can use), besides all this, the e-mail itself, when it arrives it has the attachment icon, but theres never any attachment, and also all of the headers are appearing in the body of the message....

Anyone done anything similar? or able to help?

Edit : The server is windows 2003, PHP 4.3.9
KingPhoenix is offline   Reply With Quote