Activities
latest
false
Banner background image
Productivity Activities
Last updated Apr 26, 2024

Smtp Connection

Creates a service that can send email messages using the SMTP protocol.

Namespace: UiPath.Mail.Activities.Api

Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)

Overloads

OverloadDescription
Smtp(MailConnectionOptions)Creates a service that can send email messages using the SMTP protocol. Can be configured with additional options.
Smtp(String, Int32)Creates a service that can send email messages using the SMTP protocol.

Smtp(MailConnectionOptions)

Creates a service that can send email messages using the SMTP protocol. Can be configured with additional options.

ISmtpMailService Smtp(
	MailConnectionOptions options
)ISmtpMailService Smtp(
	MailConnectionOptions options
)
options MailConnectionOptions

Additional options to customize the retrieval of mails:

Smtp(String, Int32)

Creates a service that can send email messages using the SMTP protocol.

ISmtpMailService Smtp(
	string server,
	int port = 25
)ISmtpMailService Smtp(
	string server,
	int port = 25
)
server String

The email server host to use.

port Int32 (Optional)

The port used to get the email messages (default = 25)

Return value

ISmtpMailService
Returns an instance of ISmtpMailService.
  • Overloads
  • Smtp(MailConnectionOptions)
  • Smtp(String, Int32)
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.