PDA

View Full Version : Multiple attachments


Tom M
06-06-2009, 02:32 PM
I'm using Digital File Pro in conjunction with Universal Email to send email to a mailing list and have followed the the recipe for including attachments with an email form.

Two questions:



Is there a best practice or recipe for how to deal with adding multiple files to an email instead of just one?



As part of my email, I allow a user to send a test email to themselves first for preview. However, after posting the email form, the "attachment" form field associated with the file upload is blank, which causes the "attachment" field to be blank when it is reposted to actually send mail to the mailing list.


Thanks,

TM

Ray Borduin
06-08-2009, 06:34 AM
1) not that I know of

2) you could probably store the attachment destination as a session variable and use that when sending the email. Then just make sure not to overwrite it when it is blank. There is no way to pre-populate an attachment form field for security reasons in html browsers.