Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tSendMail file too big error

I get an exception while executing a talend job that sends email with attachment file of size 42 KB. I want to know if this is caused by by SMTP server refusing the message or talend having limit. Is there any way i could specify the maimum size of attachments that are attached to tSendMAil component?
Exception in component tSendMail_2
com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1215)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:586)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
Labels (3)
6 Replies
Anonymous
Not applicable
Author

Hi,
I don't think that it is from SMTP Server refusing message... It should be some error in the job...
Not necessary that it is what actually message is, but could be related to something else... File size is not a problem... Can you pl show your job and smtp configuration for SendMail component?
thanks
Vaibhav
Anonymous
Not applicable
Author

Hi,
Is there any file size limitation of SMTP mail Server? Could you please indicate the build version you are using so that we can take a testing.
Could you please use other mails (gmail, ourlook)to send a mail with size 42 KB attachment file to your SMTP mail Server to see if it is ok?
Best regards
Sabrina
Anonymous
Not applicable
Author

It was indeed a error in the job, there were leftover files in a folder i was trying to attach and their sizes summed up. though the problem still persists, because the maximum size is under 10MB and there is a requirement for our system to send files up to 20 MB. is there any way of increasing maximum attachment file size in the configurations of the component?
Anonymous
Not applicable
Author

Hi,
Could you please open a work item jira issue of DI project on Talend Bug Tracker, our component developer will check it to see if it is possible.
Best regards
Sabrina
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Hi spiderman,
Thanks for your contribution.
Best regards
Sabrina