UiPath Documentation
activities
latest
false
Productivity activities

GetEmailAttachmentsInfo

Retrieves the attachment info for the given mail.

Retrieves the attachment info for the given mail.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Overloads​

OverloadDescription
GetEmailAttachmentsInfo(IMail)Retrieves the attachment info for the given mail.
GetEmailAttachmentsInfo(String)Retrieves the attachment info for the email with the given messageId.

GetEmailAttachmentsInfo(IMail)​

Retrieves the attachment info for the given mail.

public IReadOnlyCollection<IMailAttachmentInfo> GetEmailAttachmentsInfo(
	IMail mail
)
public IReadOnlyCollection<IMailAttachmentInfo> GetEmailAttachmentsInfo(
	IMail mail
)

mail IMail : The email from which to get the attachments info from.

GetEmailAttachmentsInfo(String)​

Retrieves the attachment info for the email with the given messageId.

public IReadOnlyCollection<IMailAttachmentInfo> GetEmailAttachmentsInfo(
	string messageId
)
public IReadOnlyCollection<IMailAttachmentInfo> GetEmailAttachmentsInfo(
	string messageId
)

messageId String : The ID of the email from which to get the attachments info from.

Return value​

IReadOnlyCollection<IMailAttachmentInfo> - A list of attachments that belong to the given email.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated