Doc2form email with attachments (not saved to node)
Hi guys,
I've noted a couple of topics which danced around this issue, but I haven't actually found a solution to this one.
I'm using Umbraco 4.0.2.1
I've got a client with a positions vacant job section on their website & I'm wanting to use Doc2form to send the application with 2 attachments (ie. application letter + Resume) via email. I don't want the docs saved to a node, just emailed as attachment.
I can't seem to get this working at all - any suggestions?
Email works fine - but I can't seem to get the attachements sent with it.
Here's my macro below:
<form runat="server">
<umbraco:Macro DocumentType="1167" TabName="jobseeker" PageTabs="0" HideTabNames="0" ShowDescriptions="0" RequiredText="" SubmitButtonText="Submit" PreviousButtonText="Prev" NextButtonText="Next" TextOnSubmit="Thanks for your submission." RedirectToNode="1154" StorePropertiesInCookies="" SendEmailResponse="1" ResponseSubject="Your application has been received"
ResponseMessage="Hi [firstname],
Your submission has been received. We will review your application shortly" ResponseEmailFieldAlias="" ResponseCopyTo="" EmailForm="0" FormSubject="You have received a new website Jobseeker Submission" FormMessage=" You have received a new website Jobseeker Submission
Files are not attached to the email, but can be included as a link to the file.
Doc2Form uses the umbraco Document Type structure, and as such, the Data Types. It really does not know what you are using, just that it tries to work with the data it is given.
To include the link to the file, simply place the placeholder text with the alias of the upload....
IE: [resume]
This will include a link to the file that is saved in the media section.
If you need to attach the file to an email, and not save it, then you should consider writing your own custom control.
Doc2form email with attachments (not saved to node)
Hi guys,
I've noted a couple of topics which danced around this issue, but I haven't actually found a solution to this one.
I'm using Umbraco 4.0.2.1
I've got a client with a positions vacant job section on their website & I'm wanting to use Doc2form to send the application with 2 attachments (ie. application letter + Resume) via email. I don't want the docs saved to a node, just emailed as attachment.
I can't seem to get this working at all - any suggestions?
Email works fine - but I can't seem to get the attachements sent with it.
Here's my macro below:
Would appreciate any suggestions / comments.
Thanks in advance.
Files are not attached to the email, but can be included as a link to the file.
Doc2Form uses the umbraco Document Type structure, and as such, the Data Types. It really does not know what you are using, just that it tries to work with the data it is given.
To include the link to the file, simply place the placeholder text with the alias of the upload....
IE: [resume]
This will include a link to the file that is saved in the media section.
If you need to attach the file to an email, and not save it, then you should consider writing your own custom control.
Case
Thanks Casey,
ok, now given I'm not really a hardcore coder, is this difficult to accomplish (i.e. custom control to attach the files?)
I noted a few similar questions through the forum, so I think others would definately be interested in how to acheive this.
Rgs
Simon.
is working on a reply...