attaching a file to email?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

attaching a file to email?

Post by pelegk2 »

how do i attach a file t an email where the file is already on the server?
robjime
Forum Commoner
Posts: 46
Joined: Sat Apr 03, 2004 12:26 pm
Location: the RO

Post by robjime »

Once the file is already on the server you could have the link to the file on the server bypassing the attachment
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

Post by pelegk2 »

please explain how
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Well the method he is talking about is simply turning the e-mail into an HTML one and then link to the file via...

Code: Select all

<a href="http://url.to/file.attached">
But if you want to actually attach the file, check out this forum search: +mail +attach*

This has been solved on here many times before.
Post Reply