Send Email With Attachments#

This feature facilitates sending an email with attachments directly from your workflow. It’s ideal for automating email processes, including sending reports, invoices, or other documents as attachments.

Make Step

Input#

Name

Description

Required

Import Options

Select the input source for attachments: Upload Files or Input Link(s).

Yes


Upload Files#

Name

Description

Required

Data

Upload a file using raw binary data from another module. Note: This requires additional credits as it first uploads to PDF.co Temporary Files Storage.

Yes


Input Link(s)#

Name

Description

Required

URL

Provide URLs to source documents, separated by commas. Example: https://example.com/sample1.pdf,https://example2.com/sample2.pdf. Ensure links are publicly accessible if using services like Google Drive or Dropbox.

Yes


Name

Description

Required

Email From

Specify the sender’s name and email. Example: John Doe <john@example.com>.

Yes

Email To

Define the recipient’s name and email. Example: John Doe <john@example.com>.

Yes

Subject

The subject line of the email.

Yes

Body Text

The plain text version of the email message.

Yes

Body HTML

The HTML version of the email message.

Yes

SMTP Server

The SMTP server address. For setup details, refer to SMTP Configurations.

Yes

SMTP Port

The SMTP server port.

Yes

SMTP User Name

The SMTP server username.

Yes

SMTP Password

The SMTP server password.

Yes

Execution Mode

Select Sync for small tasks up to 10 seconds. Choose Async for standard jobs, or Async For Large Docs for tasks over 30 seconds. Use Job Check module for retrieving results in large tasks.

No

Profiles

Add custom options for the process in a JSON string format. See API Profiles for more details.

No


Output#

Name

Description

Status

Indicates the response status code. A success status is returned if the operation is successful.

outputLinkValidTill

Specifies the timestamp until which the url remains accessible.

error

Provides details about any errors encountered during the process, if applicable.

Job Id

A unique identifier assigned to the job.

credits

The amount of credits utilized for the process.

Remaining Credits

Displays the balance of credits available in your account.

duration

The duration of time the process took to complete.