cancel
Showing results for 
Search instead for 
Did you mean: 
Security Alert Log4j Security Vulnerability. Click here to know more.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to send mail with attachment have size above 470 KB in Thingworx by using Mail Server extensions

NERaj
13-Aquamarine

How to send mail with attachment have size above 470 KB in Thingworx by using Mail Server extensions

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

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald I
(To:slangley)

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

View solution in original post

9 REPLIES 9
raluca_edu
17-Peridot
(To:NERaj)

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

NERaj
13-Aquamarine
(To: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

raluca_edu
17-Peridot
(To:NERaj)

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

NERaj
13-Aquamarine
(To: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

NERaj
13-Aquamarine
(To:NERaj)

Please find the attached screenshot on the parameters used.

raluca_edu
17-Peridot
(To:NERaj)

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

slangley
23-Emerald I
(To:NERaj)

Hi @NERaj.

 

Have you tested if it's possible to send a very small attachment or are all emails with attachments failing?

 

Regards.

 

--Sharon

slangley
23-Emerald I
(To:slangley)

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

Announcements