~rjarry/aerc-discuss

4 4

Auto save email address on send

Marcus Kober <hello@marcuskober.de>
Details
Message ID
<CRWCKGLRB12O.23VUVF3FP6U34@Tombstone.fritz.box>
DKIM signature
missing
Download raw message
Hi there,

I'm using aerc on my Mac, and I'm wondering how to automatically save recipient addresses when sending emails via khard. 

Is there a hook that triggers when emails are sent?"

Best regards,
Marcus
Details
Message ID
<CRWCN4W7TQUY.2AHTKLSUG5SMZ@hades.moritz.sh>
In-Reply-To
<CRWCKGLRB12O.23VUVF3FP6U34@Tombstone.fritz.box> (view parent)
DKIM signature
missing
Download raw message
On Fri Apr 14, 2023 at 10:48 AM CEST, Marcus Kober wrote:
> Is there a hook that triggers when emails are sent?"
not yet, it's a work in progress

-- 
Moritz Poldrack
https://moritz.sh
Marcus Kober <hello@marcuskober.de>
Details
Message ID
<CRWCQ05EW41K.1L66YZF67F2P8@Tombstone.fritz.box>
In-Reply-To
<CRWCN4W7TQUY.2AHTKLSUG5SMZ@hades.moritz.sh> (view parent)
DKIM signature
missing
Download raw message
Moritz Poldrack, Apr 14, 2023 at 10:52:
> > Is there a hook that triggers when emails are sent?"
> not yet, it's a work in progress

Great, thank you!

Regards,
Marcus
Details
Message ID
<CRWDII9RS839.CSB140IZTL2O@zoidberg>
In-Reply-To
<CRWCQ05EW41K.1L66YZF67F2P8@Tombstone.fritz.box> (view parent)
DKIM signature
missing
Download raw message
On Fri Apr 14, 2023 at 10:55 CET, Marcus Kober wrote:
> Moritz Poldrack, Apr 14, 2023 at 10:52:
> > > Is there a hook that triggers when emails are sent?"
> > not yet, it's a work in progress
>
> Great, thank you!

FYI, I have a little program, 'mta', that is called whenever a mail is
sent via aerc that:

- extracts 'cc', 'bcc', and 'to' from the mail
- forwards the send of the mail to the actual mail transfer agent
  (msmtp in my case)
- sends the new contacts to my CardDAV server.

here:
- https://git.sr.ht/~sbinet/episto/tree/main/item/cmd/mta/main.go

hth,
-s
Details
Message ID
<CRWIKXFS74QI.2CX7NNKN9RF4N@mashenka>
In-Reply-To
<CRWDII9RS839.CSB140IZTL2O@zoidberg> (view parent)
DKIM signature
missing
Download raw message
On Fri Apr 14, 2023 at 11:32, Sebastien Binet wrote:
> On Fri Apr 14, 2023 at 10:55 CET, Marcus Kober wrote:
> > Moritz Poldrack, Apr 14, 2023 at 10:52:
> > > > Is there a hook that triggers when emails are sent?"
> > > not yet, it's a work in progress
> >
> > Great, thank you!
>
> FYI, I have a little program, 'mta', that is called whenever a mail is
> sent via aerc that:
>
> - extracts 'cc', 'bcc', and 'to' from the mail
> - forwards the send of the mail to the actual mail transfer agent
>   (msmtp in my case)
> - sends the new contacts to my CardDAV server.
>
> here:
> - https://git.sr.ht/~sbinet/episto/tree/main/item/cmd/mta/main.go
>
> hth,
> -s

Very cool solution :)


-- 
+36305425054
bence.ferdinandy.com
Reply to thread Export thread (mbox)