mailrise icon indicating copy to clipboard operation
mailrise copied to clipboard

ntfy attachments don't work

Open variasdesign opened this issue 2 years ago • 2 comments

Hello.

I'm trying to send an attachment to ntfy through mailrise. I'm using mailsend:

mailsend -smtp mailrise.xyz -t [email protected] -attach "/var/log/system.log" -sub "System log" -f [email protected] -M "Here's the system log:"

However, the delivery fails:

[2024-01-26 17:33:01] WARNING:mailrise.skeleton:Notification failed: address: [ [email protected][email protected] ] subject: [ System log ] body: [ Here's the system (0.0K) ] attach: [ system.log (1536.8K) ]

If I remove the attachment, everything works as expected. AFAIK, Apprise supports attachments in ntfy notifications. What could be wrong? Thanks for any help.

variasdesign avatar Jan 26 '24 17:01 variasdesign

try a smaller file. afaik ntfy has a max message size. maybe it's also an issue of the older apprise version (1.7.1) that is currently used.

AlBundy33 avatar Jul 29 '24 18:07 AlBundy33

Yeah, this is probably an attachment size limit. To be clear, Apprise does not communicate to Mailrise the reason for any delivery failure. It's a simple True/False success flag. There is also the logging information, if any.

YoRyan avatar Nov 08 '25 01:11 YoRyan