How to combine CurrentMail.Date.ToString() & CurrentMail.SenderName

need help
i have created a simple automation for each attachment save it and
i have to safe attachments with adding name of sender and date of email
how can i do that

CurrentMail.Date.ToString + " " + CurrentMail.SenderName

It’s as the error says, there is no SenderName property of CurrentMail.

Where is CurrentMail coming from?

sender name is available in the mailbox
how can it retrieve that

Hi @hmuzahir1

Give a try with

CurrentMail.Sender.DisplayName.Tostring

Regards!

its working but it is saving on last email, it should save all the emails with adding date and time to all the emails for last 30 days

if i leave it blank then it saves all emails and give them a serial number

It means that, the expression you needed from this post is solved, you should loop and save the value in a list or wherever you want

Regards!