Sending email with attachment

kwakly Posted messages 12 Status Membre -  
 Campane -
Hello

I have a web development site. From a button, the user can send an email and has the possibility to add attachments.
When I test the site in deployment mode, if I choose a file located on the server's hard drive, the attachment is added to the email. However, if I choose a file located on the network, the attachment is not added and the email fails.

My question is therefore: is it mandatory to save the attached files on the web server? How should we proceed?

Thank you for your answers.
Configuration: Windows 2000 Internet Explorer 6.0

1 réponse

kwakly
 
Here is the solution I found to my problem:

I use an uploadcopiefichier that copies my file to the server. I specify the path on the server and everything works correctly.
-1
Campane
 

Hello

I am not a computer scientist by profession. I can't generate the code that allows me to attach a file with WEBDEV. If you have a concrete example, it could very likely help me.

Jean-Louis

0
Campane
 

Hello

I'm struggling with uploads. Could you give me an example of code lines to attach one or more attachments to an email via Webdev?

Thanks a lot in advance.

0