EmailSendInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Send Email with Attachments
public class EmailSendInput
type EmailSendInput = class
Public Class EmailSendInput
- Inheritance
-
EmailSendInput
Constructors
| Name | Description |
|---|---|
| EmailSendInput() | |
Properties
| Name | Description |
|---|---|
| Async |
Set async to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish. |
| Bodyhtml |
HTML version of the outgoing email message. |
| Bodytext |
Plain text version of the outgoing email message. |
| From |
The “From” field with sender name and email. Example: John Doe <john@example.com> |
| Profiles |
Use this parameter to set additional configurations for fine-tuning and extra options. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples. |
| Smtppassword |
SMTP server password, If you use Gmail then you need to generate an app-specific password as instructed at https://support.google.com/accounts/answer/185833. |
| Smtpport |
SMTP port |
| Smtpserver |
SMTP server address |
| Smtpusername |
SMTP server username |
| Subject |
The subject for the outgoing email |
| To |
The “To” field with receiver name and email. Example: Partner <partner@example.com> |
| Url |
URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage. |