London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Seems like you got your answer at http://stackoverflow.com/questions/16709152/episerver-xform-attaching-file-to-an-email ?
Hello,
I have managed to get it so that a user can choose a file to upload to a form, and it is even appearing in my new VPP folder.
However in the email, it just says "Upload FileUploaded" for that field.
It says I need to Just attach to the BeforeSubmitPostedData event
Check if ((e.FormData.ChannelOptions & ChannelOptions.Email) != ChannelOptions.Email) is true
then send the custom mail and remove the send mail option
e.FormData.ChannelOptions &= ~ChannelOptions.Email;
in the instructions, but can anyone break that down further for me, as im still in process of learning the code.
Many Thanks
Marc.