cancel
Showing results for 
Search instead for 
Did you mean: 
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

Amethyst

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

7 REPLIES 7

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

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

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

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

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

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

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

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

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

Please find the attached screenshot on the parameters used.

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

Hi,

 

Application.log level is set to WARN, no error can be seen.

Please check ScriptLogError.log.

 

Thank you,

Raluca Edu

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

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

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________