Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MailerPlugin.send(email)
- val email = Email(
- "A personal mail",
- "LeeSa <xxxxxx@gmail.com>",
- Seq("Recepient <yyyyyy@gmail.com>"),
- // adds attachment
- attachments = Seq(
- ),
- bodyHtml = Some("""
- <html>
- <body>
- <h3>Hai ,</h3>
- <p> This is a test message. </p>
- </body>
- </html>
- """)
- )
- MailerPlugin.send(email)
- smtp.host=smtp.gmail.com
- smtp.port=465
- smtp.ssl=yes
- smtp.tls=yes
- smtp.user="xxxxxxx@gmail.com"
- smtp.password="MyPassword"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement