Attach image to an email through umbraco.library:SendMail
Hi all,
I'm using the umbraco.library:SendMail to send out an email to the owner of a website through a form on the website. It works perfectly. I use the code below:
But what I'd like to do is to give the user the possibility of attaching two images to the mail. I want to create two new input fields where the user can choose an image in each of them.
I'm pretty sure that this can't be acchieved using the extension, but I have thought of something else. Another thing that would work for me is the following:
When the user clicks the send-button, the two selected images will be uploaded into the media-section of umbraco, and in the mail-body of the e-mail there could then be two links to the two files in the media section. Is this easier to do?
This will probably need some .NET, but unfortunatelly I can't code in .NET my self. But if some of you guys have got a snippet or knows how this can be done in .NET/XSLT I would really love to see it. Any help will be greatly appreciated.
Attach image to an email through umbraco.library:SendMail
Hi all,
I'm using the umbraco.library:SendMail to send out an email to the owner of a website through a form on the website. It works perfectly. I use the code below:
But what I'd like to do is to give the user the possibility of attaching two images to the mail. I want to create two new input fields where the user can choose an image in each of them.
I'm pretty sure that this can't be acchieved using the extension, but I have thought of something else. Another thing that would work for me is the following:
When the user clicks the send-button, the two selected images will be uploaded into the media-section of umbraco, and in the mail-body of the e-mail there could then be two links to the two files in the media section. Is this easier to do?
This will probably need some .NET, but unfortunatelly I can't code in .NET my self. But if some of you guys have got a snippet or knows how this can be done in .NET/XSLT I would really love to see it. Any help will be greatly appreciated.
Thanks in advance!
/Kim A
is working on a reply...