Send Mail
Description
Takes attachment paths, to, cc, subject and Body and send emails, outputs success
Input Ports
| Name | dataType | sourceType | required | description |
|---|---|---|---|---|
| Attachments | text-list | link-manual | false | The paths to all the files you want as attachments for the email |
| From | text | link-manual | true | The email that indicates from who the email is being sent from |
| To | text | link-manual | false | The email address the email will be sent to |
| Cc | text-list | link-manual | false | The email addresses the email will be CC to |
| Subject | text | link-manual | true | The subject of the email |
| Host | text | link-manual | true | The host address of the mail server |
| Port | text | link-manual | true | The port number of the mail server, usually 587 or 993 |
| Username | text | link-manual | true | The username of the account |
| Passwword | text | link-manual | true | The password of the account |
| Body | text | link-manual | true | The body content you want inside of the email |
Scenarios
- The user wants to send a email without attachments to a targeted email address using their own email server credentials
- The user wants to send a email with attachments to a targeted email address using their own email server credentials
- The user wants to send a email with
attachmentstoa targeted email address andcc5 other email addresses using their own email server credentials
Use case
Inputs
- Attachments:
['D:\file1.xlsx', 'D:\image.png] - From:
from@domain.com - To:
to@domain.com - Cc:
['email1@domain.com', 'email1@domain.com'] - Subject:
The subject the reciever will see - Host:
www14.cpi44.host-f.netoremail.domain.type - Port:
587or993 - Username:
smtp@domain.com - Password:
****** - Body:
any content inside of the email
Experienced tips
- If you do not specify a
Fromemail address, the process will continue and use the email address specified as the username to send the mail. - If you do not specify a
Toemail address, the process will stop and provide you with the following error.No recipients defined - If you do not specify a
Subject, the process will continue and set the email subject as(no subject). - If you do not specify an email server
Hostaddress, the process will stop and provide you with the following error.connect ECONNREFUSED 127.0.0.1:587 - If you do not specify an email server
Portnumber, the process will continue and use the default port number of587 - If you specify an incorrect email server
Portnumber, the process will stop and provide you with the following error.connect ETIMEDOUT ***.***.**.**:588 - If the username or password is incorrect, the process will stop and provide you with the following error.
Invalid login: 535 Incorrect authentication data
Search Tags
Send email with attachments