Activities
latest
false
Smtp Connection - Other latest
Banner background image
logo
Productivity Activities
Last updated Feb 16, 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
Support and Services icon
Get The Help You Need
UiPath Academy icon
Learning RPA - Automation Courses
UiPath Forum icon
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.