Sending email by using java applications -


i added mail.jar , activation.jar class path dont know how use them. want send mail application.

you can use following library: https://github.com/cloudrail/cloudrail-si-java-sdk

you can send email choosing between sendgrid , mailjet. example:

email mailjet = new mailjet(null, "clientid", "clientsecret"); mailjet.sendemail("fromemail", "fromname", toaddresses, "subject", "textbody", "htmlbody", ccaddresses, bccaddresses);


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -