airmail error

xodax's Avatar


08 Feb, 2015 08:11 AM

I have been encountering an error using GPG with Airmail's plugin. I know this isn't the ideal place to ask this, but I tried contacting their support to no avail. My only hope now is someone here can shed a light on this.

When I try to sign or encrypt a message with Airmail, it gives me this error message:

"Cannot send mail error [subject of email] Envelope cannot get the from of the message"

I have tried reinstalled Airmail, plugin, & GPGtools. This only occurs with my Exchange accounts. I dug into the source code of Airmail's GPG plugin, and found the trigger for this error message:

- (NSString*) Envelope:(NSString*)rfc info:(AMPComposerInfo*)info enc:(BOOL)enc sign:(BOOL)sign
        @throw [NSException exceptionWithName:AMPGpgEncryptionException reason:@"GPG Envelope missing rfc input" userInfo:nil];
    NSString *from              = info.localMessage.from.mail;
        @throw ([NSException exceptionWithName:AMPGpgEncryptionException reason:@*"GPG Envelope cannot get the from of the message*" userInfo:nil]);

I'm trying to understand the nature of the error, so at least I can try things to resolve this. Does anyone know what the error message is trying to tell me?

  1. Support Staff 1 Posted by Luke Le on 12 Feb, 2015 12:52 PM

    Luke Le's Avatar

    Hi xodax,

    it looks like for some reason Airmail can't get the sender information for the GPG plugin.
    Unfortunately we're not at all familiar with Airmail's GPG plugin and can't help you further.
    Since some Exchange accounts have really strange email address with \ character in them, this might be a reason.

    It's best if you keep trying Airmail support.

  2. 2 Posted by xodax on 24 Feb, 2015 09:03 AM

    xodax's Avatar

    Hi Luke - thanks for getting back to me! Do you know who maintains the GPG plugin? As my main email account is Exchange, this is a feature I value quite a bit. And it seems many other issues are experiencing this as well from comments online.

    Airmail rocks, btw

    [email blocked]
    Sent with Sparrow (

  3. Support Staff 3 Posted by Steve on 24 Feb, 2015 10:59 AM

    Steve's Avatar

    Airmail is working on this afaik.

  4. Steve closed this discussion on 02 Jun, 2015 12:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac