Now I want the e-mails to be saved in a folder named as the sender (From)
So I added
Now when I run it says I have an illegal character and can’t work it out
If I leave the + mail.from.tostring part out it saves it to the folder path I have designated but I need them to go into a folder by sender, will it create the folder if it doesn’t exist?
I have managed to get it to save to a folder based on the subject using mail.subject.tostring so thats fine, I think as from when you do a write line returns and my email address there are characters that are not allowed in folder structure