diff options
| author | 2025-01-20 22:59:30 +0100 | |
|---|---|---|
| committer | 2025-01-20 22:59:30 +0100 | |
| commit | 4c1a2d24d374d00c656c4489db7d28f80d64f9dc (patch) | |
| tree | 81f7ba7093202247ec51861aa3a6d304d3068d84 /activitypub.c | |
| parent | add xs_smtp_request (diff) | |
| download | penes-snac2-4c1a2d24d374d00c656c4489db7d28f80d64f9dc.tar.gz penes-snac2-4c1a2d24d374d00c656c4489db7d28f80d64f9dc.tar.xz penes-snac2-4c1a2d24d374d00c656c4489db7d28f80d64f9dc.zip | |
add port parsing for sandboxing
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index ca5cc3e..e5fc715 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -2465,9 +2465,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) | |||
| 2465 | 2465 | ||
| 2466 | 2466 | ||
| 2467 | int send_email(const xs_dict *mailinfo) | 2467 | int send_email(const xs_dict *mailinfo) |
| 2468 | /* invoke sendmail with email headers and body in msg */ | 2468 | /* invoke curl */ |
| 2469 | { | 2469 | { |
| 2470 | const xs_dict *smtp_cfg = xs_dict_get(srv_config, "smtp"); | 2470 | const xs_dict *smtp_cfg = xs_dict_get(srv_config, "email_notifications"); |
| 2471 | const char | 2471 | const char |
| 2472 | *url = xs_dict_get(smtp_cfg, "url"), | 2472 | *url = xs_dict_get(smtp_cfg, "url"), |
| 2473 | *user = xs_dict_get(smtp_cfg, "username"), | 2473 | *user = xs_dict_get(smtp_cfg, "username"), |