NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
set_sender()

Set the sender of the email. More...

+ Collaboration diagram for set_sender():

Functions

void pgp_gpgme_set_sender (const char *sender)
 Set the sender of the email - Implements CryptModuleSpecs::set_sender() -.
 

Detailed Description

Set the sender of the email.

Parameters
senderEmail address

Function Documentation

◆ pgp_gpgme_set_sender()

void pgp_gpgme_set_sender ( const char * sender)

Set the sender of the email - Implements CryptModuleSpecs::set_sender() -.

Definition at line 4168 of file crypt_gpgme.c.

4169{
4171 mutt_debug(LL_DEBUG2, "setting to: %s\n", sender);
4172 FREE(&mod_data->current_sender);
4173 mod_data->current_sender = mutt_str_dup(sender);
4174}
#define mutt_debug(LEVEL,...)
Definition logging2.h:91
@ LL_DEBUG2
Log at debug level 2.
Definition logging2.h:46
#define FREE(x)
Free memory and set the pointer to NULL.
Definition memory.h:68
@ MODULE_ID_NCRYPT
ModuleNcrypt, Ncrypt
Definition module_api.h:80
char * mutt_str_dup(const char *str)
Copy a string, safely.
Definition string.c:257
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
Definition neomutt.c:663
Ncrypt private Module data.
Definition module_data.h:38
char * current_sender
Current sender for GPGME.
Definition module_data.h:47
Container for Accounts, Notifications.
Definition neomutt.h:41
+ Here is the call graph for this function: