Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | bittorrent and edonkey sites shutdown

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

PHP, sending e-mail with attachment
Reply
 
Thread Tools
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
Advertisement
Old 11-02-2005, 12:53   #2
Graham M
-
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: PHP, sending e-mail with attachment

you should be able to use the mail function, you probably just need to set a SMTP server in the php.ini file.
Graham M is offline   Reply With Quote
Old 11-02-2005, 13:18   #3
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
Re: PHP, sending e-mail with attachment

I cracked it, using phpmailer now, and it works a treat
KingPhoenix is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:18.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum