Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello All,
I am using Mail Server extension Version 3.6 to send mail with Attachment.
Issue: Not able to send mail with attachment have size above 470 KB and also not throwing any error while processing.
Please provide some idea to solve above problem?
Thingworx Version: 8.2.5
MailServer extension Version: 3.6
Thanks,
Nagaraj
Solved! Go to Solution.
Hi @NERaj.
Glad to hear that importing the latest version of the mail server widget resolved your issue. I assume that was Mail Extension 3.6.0.
If this information is correct, please mark this post as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon
Hi,
Please help with more details:
1. which service you are using to send email?
2. emails without attachments are working?
3. are you trying to send image as attachment?
4. Set Application log level to DEBUG and send message again, upload Application.log here for analysis.
Thank you,
Raluca Edu
Hello Raluca Edu,
Thank you for quick reply Raluca Edu.
Please find my response in bold text.
1. which service you are using to send email?
service: SendMessageWithAttachment
2. emails without attachments are working?
Yes its working fine without attachment
3. are you trying to send image as attachment?
No. I am trying to send the PDF file as attachment.
4. Set Application log level to DEBUG and send message again, upload Application.log here for analysis.
I have set the Application log level to DEBUG, but, didn't get any log (See the attached screenshot).
Thanks,
Nagaraj
Hi,
1. Please access Application.log directly on the server and attach it here.
2. Please attach a screenshot on the parameters of the service (to see path, name of file ...)
3. Mime type for the service for pdf should be "application/pdf"
Thanks,
Raluca Edu
Hello Raluca Edu,
Please find my response in bold text.
1. Please access Application.log directly on the server and attach it here.
I have attached application log file, please check.
2. Please attach a screenshot on the parameters of the service (to see path, name of file ...)
3. Mime type for the service for pdf should be "application/pdf"
Yes I have defined as "application/pdf".
I am able to send successfully mail with pdf attachment have size below 450 kb.
Thanks,
Nagaraj
Please find the attached screenshot on the parameters used.
Hi,
Application.log level is set to WARN, no error can be seen.
Please check ScriptLogError.log.
Thank you,
Raluca Edu
Hello @NERaj ,
It could be your mail server which blocks large attachments. I would try to configure a "normal" email client like Outlook and try sending a large file using it.
/ Constantine
Hi @NERaj.
Have you tested if it's possible to send a very small attachment or are all emails with attachments failing?
Regards.
--Sharon
Hi @NERaj.
Glad to hear that importing the latest version of the mail server widget resolved your issue. I assume that was Mail Extension 3.6.0.
If this information is correct, please mark this post as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon