tag:gpgtools.tenderapp.com,2011-11-04:/discussions/beta/746-airmail-errorGPGTools: Discussion 2015-06-02T12:01:07Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/359918312015-02-08T08:11:44Z2015-02-08T08:11:44Zairmail error<div><p>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.</p>
<p>When I try to sign or encrypt a message with Airmail, it gives
me this error message:</p>
<p>"Cannot send mail error [subject of email] Envelope cannot get
the from of the message"</p>
<p>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:</p>
<pre>
<code>- (NSString*) Envelope:(NSString*)rfc info:(AMPComposerInfo*)info enc:(BOOL)enc sign:(BOOL)sign
{
if(!rfc)
@throw [NSException exceptionWithName:AMPGpgEncryptionException reason:@"GPG Envelope missing rfc input" userInfo:nil];
NSString *from = info.localMessage.from.mail;
if(!from)
@throw ([NSException exceptionWithName:AMPGpgEncryptionException reason:@*"GPG Envelope cannot get the from of the message*" userInfo:nil]);</code>
</pre>
<p>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?</p></div>xodaxtag:gpgtools.tenderapp.com,2011-11-04:Comment/359918312015-02-12T12:52:56Z2015-02-12T12:52:56Zairmail error<div><p>Hi xodax,</p>
<p>it looks like for some reason Airmail can't get the sender
information for the GPG plugin.<br>
Unfortunately we're not at all familiar with Airmail's GPG plugin
and can't help you further.<br>
Since some Exchange accounts have really strange email address with
\ character in them, this might be a reason.</p>
<p>It's best if you keep trying Airmail support.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/359918312015-02-24T09:03:06Z2015-02-24T09:03:06Zairmail error<div><p>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.</p>
<p>Airmail rocks, btw</p>
<h2><a href="#" class="anchor" name=""></a></h2>
<p><a href=
"mailto:orange3127@gmail.com">orange3127@gmail.com</a><br>
Sent with Sparrow (<a href=
"http://www.sparrowmailapp.com/?sig">http://www.sparrowmailapp.com/?sig</a>)</p></div>xodaxtag:gpgtools.tenderapp.com,2011-11-04:Comment/359918312015-02-24T10:59:01Z2015-02-24T10:59:01Zairmail error<div><p>Airmail is working on this afaik.</p></div>Steve