Extract from email address from .eml file

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Extract from email address from .eml file Tue May 11, 2021 10:45 am • by tsolignani
Hallo everybody.

I am trying to set a rule to rename Apple Mail mail's dragged to the desktop accordin to the following syntax:

yyyymmdd - sendermail.eml

I managed to make Hazel extract the date of the email, but cannot do anything good with the sender's mail.

Any hint?

Thank you very much.

Tiziano
tsolignani
 
Posts: 7
Joined: Sat Dec 29, 2012 11:13 am

Re: Extract from email address from .eml file Wed May 12, 2021 10:17 am • by Mr_Noodle
Can you show/describe the rule/pattern you are using?
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thank you.

Please find some screenshoots over here:

https://www.dropbox.com/sh/l0h2v3vtrx0a ... RJ_wa?dl=0

Thank you, have a nice day.
tsolignani
 
Posts: 7
Joined: Sat Dec 29, 2012 11:13 am

Re: Extract from email address from .eml file Fri May 14, 2021 10:20 am • by Mr_Noodle
The "From" pattern seems a bit restrictive. It won't allow for other characters in the email, like numbers or punctation. It might be better to just grab all text after the "From: " text.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support