-
15. Re: Unable to send mail
deepak_sharma_25 Mar 4, 2010 1:32 AM (in response to deepak_sharma_25)jbpm.mail.properties file content is as follows:
mail.transport.protocol=smtps
mail.smtp.starttls.enable=true
mail.smtp.host=smtp.gmail.com
mail.smtps.auth=true
mail.from=mymail@gmail.com
mail.smtps.port=465
mail.user=mymail@gmail.com
mail.password=pwd
mail.smtps.quitwait=false
mail.debug=trueI hope this should work for u.
Thanks!!!
-
16. Re: Unable to send mail
cicciovega Mar 4, 2010 4:27 AM (in response to deepak_sharma_25)Thanks for reply but it still doesnt work
Cannot send mail, now retrying: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first.
I have found another thread where it exsplains that Jbpm doesnt support SSL transport and so i couldnt work with smtp.gmail. Im waiting for an answer from Ronald while im implementing a local server smtp to work with.
Do you use smtps with smtp of gmail?
TIA
-
17. Re: Unable to send mail
deepak_sharma_25 Mar 5, 2010 1:04 AM (in response to cicciovega)Do you use smtps with smtp of gmail?
No i dont use smtps, i am using
mail.smtp.host=smtp.gmail.com
Meanwhile if u are trying to send mail using local server then u can set following properties:
mail.transport.protocol=smtps
mail.smtp.host=mailhost.xyz.in
mail.smtps.port=110 [your local mail server port no]
mail.smtps.auth=true
mail.from=myemail@xyz.in
mail.user=myemail@xyz.in
mail.password=abc123
mail.smtps.quitwait=false
mail.debug=falseI am currently using local server of our company to send mail, which is working fine till now.
And also keep your antivirus firewall off, as it also creates a problem in sending mail.
Thanks,
Deepak
-
18. Re: Unable to send mail
cicciovega Mar 5, 2010 3:47 AM (in response to deepak_sharma_25)No i dont use smtps, i am using
mail.smtp.host=smtp.gmail.com
Thanks for reply. Now my smtp works great but if u tell me that i can use smtp with gmail instead of smtps, i'll try too.
And anyway, why ssl transport is not supported by jbpm?
TIA
-
19. Re: Unable to send mail
kukeltje Mar 7, 2010 7:48 PM (in response to cicciovega)jBPM 4 supports whatever Java Mail supports.... ALL (capitals, bold, italic, underlined!!!) cases where people did not get it to work were due to user errors. Get your config right and it will work. This has nothing (could have used the same accentuation as with 'all') to do with jBPM.
Cheers,
Ronald
-
20. Re: Unable to send mail
rehankhan Jan 17, 2013 1:22 AM (in response to kukeltje)hi ,
I have a some problem to send email in jbpm5.
please tell me step by step all procedure.
also tell java code.