1 2 Previous Next 20 Replies Latest reply on Jan 17, 2013 1:22 AM by rehankhan Go to original post
      • 15. Re: Unable to send mail

        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=true

         

        I hope this should work for u.

         

        Thanks!!!

        • 16. Re: Unable to send mail

          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
            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=false

             

            I 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
              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

                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

                  hi ,

                  I have a some problem to send email in jbpm5.

                  please tell me step by step all procedure.

                   

                  also tell java code.

                  1 2 Previous Next