SmtpClient: An extension to send emails using SMTP server

1.Introduction

Description: With this extension you can send emails using SMTP servers
Latest Version: 1.3
Released: 2020-12-30T18:30:00Z
Last Updated: 2021-01-09T18:30:00Z

2.Blocks

image
image

3.Usages

You can use the extension in this way:

image

And here is a brief documentation:
protocol ~ either TLS or SSL
server ~ string
port ~ int
user ~ string
password ~ string
from ~ string (can be different from username)
recipients ~ list
ccRecipients ~ list (can be empty)
bccRecipients ~ list (can be empty)
subject ~ string
body ~ string
isHtml ~ boolean
attachments ~ list (can be empty)

4.Downloads

Download Link1: com.sunny.SmtpClient.aix (476.0 KB)

5.Liked my work :heart:

Thank you :heart:
Kindly consider about donating some amount to keep me motivated. [PM me if you have already decided :slightly_smiling_face: ]
Once again, thank you.

6.ChangeLog

ChangeLog Version 1.1

Changes

  • Switched to JavaMail from Commons Net
ChangeLog Version 1.2

Changes

  • Reduced extension's size (by 30%)

Bug Fixes

  • Fixed issue with TLS protocol
ChangeLog Version 1.3

Changes

Bug Fixes

  • Fixed minor bugs

Hope it helps!

14 Likes

Great can I create it for Email bot

Thank you.

Yes,you can.

1 Like

Wow, Wonderful Extension @vknow360 :kissing_heart:

1 Like

(added to FAQ)

1 Like

Hmmmm

Clicking the button:

Clicking, "Yes it was me"

image

will go and check account settings now....

A gmail user will need to change this (found in the Security section)

image

2 Likes

Having enabled less secure apps, I get success :wink:

1 Like

ChangeLog Version 1.1

Changes

  • Switched to JavaMail from Commons Net
    Commons Net has was unable to send email with other smtp providers except Gmail
    Thanks to @TIMAI2
1 Like

ChangeLog Version 1.2

Changes

  • Reduced extension's size (by 30%)

Bug Fixes

  • Fixed issue with TLS protocol
    Thanks to @TIMAI2

Well done.

besides recipients, some time we need to cc or bcc somebody.

1 Like

ChangeLog Version 1.3

Changes

Bug Fixes

  • Fixed minor bugs
1 Like

Awesome extension @vknow360 :star_struck:

Thank you.

2 Likes

Will donate soon :slightly_smiling_face:

3 Likes

I Have try this extension... nothing happen...

read the complete thread and it would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

This can be useful when you need to create an OTP sender in your app.

Show your blocks.

1 Like

Just a quick question: Does this extension make the user send an email or automatically send an email?

Kindly elaborate more.

1 Like