Ok it works thank you Lars.

Now I have another problem, I can’t attach a file to the mail. It give me
an error “0 bytes” like it can’t find the file when I’m sure the path is
correct, example:

*make new mail attachment with properties {path:"Macintosh
SSD:Users:myuser:Desktop:image.jpg"}*

What’s wrong with that?

If I try this it give me *YES* as return:

*set* msg *to* "no"

*tell* *application* "Finder"

*if* *exists* *file* "*Macintosh SSD:Users:myuser:Desktop:image.jpg*" *then*

*set* msg *to* "yes"

*end* *if*

*end* *tell*


*display dialog* msg


p.s. I promise that when the script will works correctly I’m going to share
it with others Mailplane users. ;)

Lorenzo Godio
FooLab

2016-02-24 15:00 GMT+01:00 <[email protected]>:

> Hi,
>
> Have you already tried to set the sender in AppleScript? (e.g. set sender
> to "[email protected]")
>
> Best regards,
> Lars
>
> --
> You received this message because you are subscribed to the Google Groups
> "mailplaneapp" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/mailplaneapp.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mailplaneapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mailplaneapp.
For more options, visit https://groups.google.com/d/optout.

Reply via email to