UiPath Documentation
activities
latest
false
Productivity activities

DownloadEmailAttachments

Downloads the attachments associated with the email.

Downloads the attachments associated with the email.

Namespace: UiPath.Gsuite.Activities.API

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

Overloads​

Table 1.

OverloadsDescription
DownloadEmailAttachments(IMail)Downloads the attachments associated with the given mail.
DownloadEmailAttachments(String)Downloads the attachments associated with the email with the given messageId.

DownloadEmailAttachments(IMail)​

Downloads the attachments associated with the given mail.

public IReadOnlyDictionary<IMailAttachmentInfo, Stream> DownloadEmailAttachments(
	IMail mail
)
public IReadOnlyDictionary<IMailAttachmentInfo, Stream> DownloadEmailAttachments(
	IMail mail
)

mail IMail : The email from which to download the attachments from.

DownloadEmailAttachments(String)​

Downloads the attachments associated with the email with the given messageId.

public IReadOnlyDictionary<IMailAttachmentInfo, Stream> DownloadEmailAttachments(
	string messageId
)
public IReadOnlyDictionary<IMailAttachmentInfo, Stream> DownloadEmailAttachments(
	string messageId
)

messageId String : The id of the email from which to download the attachments from.

Return value​

IReadOnlyDictionary<IMailAttachmentInfo, Stream> - A dictionary from attachment info to the associated stream data.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated