[neomutt-users] Unclickable Links

Rudolf Bahr quasi at quasi.de
Mon May 10 09:44:22 CEST 2021


Hi Kenneth,

by typing Ctrl-b  I succeed in invoking a list of https:// links. Thank you again!

I'm afraid there seems to be just another type of links where "Ctrl-b" doesn't work:
It results in "No URLs found."
Could you give me a hint, what I should do?


The text of such a mail as an example is here.
The unclickable link is: "Bestätigen" in the middle of the text.
---------------------------------------------------------------
>From noreply at magentacloud.de  Sun May  9 07:18:20 2021
From: noreply at magentacloud.de
Reply-To: noreply at magentacloud.de
To: quasi at web.de
Subject: Bitte bestätigen Sie Ihre E-Mail Adresse
Date: Sat, 8 May 2021 19:58:24 +0200
Message-Id: <20210508175824.E4F196DE at mx.magentacloud.de>

[-- Automatische Anzeige mittels links -dump '/var/tmp/mutt.html' --]
               MagentaCLOUD     Bestätigen Sie Ihre E-Mail-Adresse

       Telekom Logo                               Erleben, was verbindet.

    Hallo SpirleFix,

    Bitte bestätigen Sie, dass Sie der Inhaber der E-Mail-Adresse
    quasi at web.de sind.





                Bestätigen





    Ihre Telekom

       © Telekom Deutschland GmbH

                                    Impressum    Datenschutz    Hilfe &
                                    FAQ
-------------------------------------------------------------------------


Concerning your second suggestion, my .mailcap now looks like:

image/jpeg; gwenview '%s'
image/pdf;  gwenview '%s'
image/png;  okular   '%s'
video/mp4;  vlc      '%s'
text/html;                      links %s; nametemplate=%s.html
text/html;                      links -dump %s; nametemplate=%s.html; copiousoutput
text/html; browser-mutt.sh qutebrowser %s; test=test -n "$DISPLAY"

I suppose, "browser-mutt.sh" consists of the following lines:

> #!/bin/bash
> 
> BROWSER=$1
> CONTENT=$2
> 
> mkdir -p /tmp/neomutt-arch
> FILENAME=$(basename $CONTENT).html
> 
> cp $CONTENT /tmp/neomutt-arch/$FILENAME
> $BROWSER file:///tmp/neomutt-arch/$FILENAME &

Where should browser-mutt.sh be placed?


Best wishes,
Rudolf




Am Fri, May 07, 2021 at 05:08:49PM +0000 schrieb Kenneth Flak:
> I use a couple of strategies: one is based on the utility urlscan:
> 
> macro index,pager \cb "<pipe-message> urlscan -d -r 'xdg-open \"{}\"'<enter>"
> 
> The other one is to open the email in my browser by going to the attachments and opening it from there. I have this in my .mailcap:
> 
> text/html; browser-mutt.sh qutebrowser %s; test=test -n "$DISPLAY"
> 
> which refers to this script:
> 
> #!/bin/bash
> 
> BROWSER=$1
> CONTENT=$2
> 
> mkdir -p /tmp/neomutt-arch
> FILENAME=$(basename $CONTENT).html
> 
> cp $CONTENT /tmp/neomutt-arch/$FILENAME
> $BROWSER file:///tmp/neomutt-arch/$FILENAME &
> 
> I might have forgotten something, but this approach works for me!
> 
> K
> --
> Roosna & Flak - Contemporary Dance & Music
> Web: roosnaflak.com
> Code: {github,gitlab}.com/kflak
> Mastodon: @kf at sonomu.club
> On  7 May 2021  18:44, Rudolf Bahr wrote:
> >
> >
> >Hello,
> >
> >what could I do when I get unclickable links in mails?
> >
> >Best regards,
> >Rudolf
> 


More information about the neomutt-users mailing list