Hi,
Thank you for reading this post.
I am new to PHP so please excuse my lack of knowledge.
I have the following requirement and I was hoping someone would help with the code please.
I need HTML and PHP code that allows a user of the site to enter their email address select an attachment from a drop down list (files contained on the web server) and it will send the chosen file to the email address they have input.
I can't figure out how to make the mail function work with the above scenario.
Please note I need to do this without an SMTP server.
Thank you.
PHP mail function to send attachment to submitted address
Moderator: General Moderators
-
Wannabecoder
- Forum Newbie
- Posts: 1
- Joined: Sat Jun 27, 2015 8:47 pm
Re: PHP mail function to send attachment to submitted addres
Not going to happen.Wannabecoder wrote:Please note I need to do this without an SMTP server.
If the files already exist on the server, why bother with email? Why not just let the user download the file?