Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Solved Send_email

More
11 May 2015 16:02 - 11 May 2015 19:16 #1 by ikafai
Send_email was created by ikafai
Bonjour,

Je voulais tester l'envoie par mail, mais j'ai eu un message d'erreur et j'arrive pas à comprendre la cause. Je partage avec vous le message d'erreur:

http://www.4shared.com/download/UUc53uA6ce/send_email.jpg?lgfp=3000
Last edit: 11 May 2015 19:16 by ikafai.
More
11 May 2015 16:31 #2 by Thomas BLETON
Replied by Thomas BLETON on topic Send_email
Ce type de message :
java.lang.NumberFormatException: For input string: "h"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Byte.parseByte(Unknown Source)
at com.indy.a.a.a.a(SourceFile:109)
at com.indy.a.a.a(SourceFile:131)
at com.indy.engine.manager.h.decryptString(SourceFile:1409)
at com.indy.engine.action.common.ActionCodeTypeI.decryptString(SourceFile:184)
at com.indy.engine.actionCodes.FtpPutActionCodeI.prepare(SourceFile:158)
at com.indy.engine.actionCodes.FtpPutActionCodeI.prepareSimpleExecuteCode(SourceFile:222)
at com.indy.engine.action.common.ActionCodeTypeI.executeCode(SourceFile:1606)
at com.indy.engine.action.common.ActionCodeTypeI.run(SourceFile:1767)
at java.lang.Thread.run(Unknown Source)

... peut survenir lorsque le mot de passe indiqué n'est pas crypté alors qu'il est attendu crypté.
L'action SendMail comporte deux propriétés : MAIL_PASSWORD et MAIL_UNCRYPTED_PASSWORD.
Il est généralement recommandé de créer une metadata pour le serveur SMTP. Puis on la fait glisser sur l'action SendMail, cela renseigne automatiquement le mot de passe avec celui indiqué dans la metadata.
More
11 May 2015 19:16 #3 by ikafai
Replied by ikafai on topic Send_email
Tout a fait, le cryptage est la cause de l'erreur ça a marché maintenant merci