johnnygo920 opened a new pull request #3199:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/3199


   
   ## Brief change log
   
     - *Set the system property of "mail.mime.splitlongparameters" is false in 
the class "org.apache.dolphinscheduler.alert.utils.MailUtils"*
   
   ## Verify this pull request
   
   This pull request is already covered by existing tests.
     - *Manually verified the change by testing locally.*
   
   local test method : 
org.apache.dolphinscheduler.alert.utils.MailUtilsTest#testSendMails
   situation one: Chinese 100.    result: success
   
![image](https://user-images.githubusercontent.com/61645312/87265846-609b2280-c4f6-11ea-919a-7a35442d2113.png)
   
   situation two: Chinese 100 + English 100.   result: success
   
![image](https://user-images.githubusercontent.com/61645312/87266097-fc2c9300-c4f6-11ea-8443-3b3e8400a037.png)
   
   other situation: Whether I set this property or not, and whether the name 
contains Chinese or not.when the length of  attachment is too long, the mail 
will send failed. ( i have been test the situation that the length is 500, but 
i'm not sure the max length,because the exception is thrown by a native method) 
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to