Technote Details :: I cannot send the uploaded file as attachment
Issue
After upgrading an older page with the Send E-mail server behavior applied in order to also send the file that gets uploaded as an attachment, the file is not sent, although it is correctly uploaded.
Reason
This happens because the Send E-mail server behavior does not have the correct priority when on the same page with the File Upload server behavior. This happens only when uploading a page created using MX Kollecton 3 Standard and then updating the Send E-mail
Solution
In order to fix this problem and adjust the trigger priorities, follow the next steps:
- Double click the Send E-mail server behavior in the Server Behaviors tab and switch to the Advanced tab. In the Priority text box enter 48.
- Click OK to apply the changes.
- Double click the Upload File or Upload and Resize Image server behavior in the Server Behaviors tab and switch to the Advanced tab. In the Priority text box enter 90.
- Click OK to apply the changes.
- Save the page. Now the e-mail should also send the attachment correctly.