Package: kmail Version: 4:4.4.11.1-1 Severity: normal On a HTML mail, all internal link (<a href="#link">A link</a><a name="link">A target</a>) are not functionnal.
Those links are functionnal on kmail 4:4.4.7-3 and not in 4:4.4.11.1-1 Here is joined a perl script to generate such HTML mail. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (600, 'stable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kmail depends on: ii kdebase-runtime 4:4.6.2-1 runtime components from the offici ii kdepim-runtime 4:4.4.11.1-1 Runtime components for akonadi-kde ii kdepimlibs-kio-plug 4:4.6.2-1 kio slaves used by KDE PIM applica ii libakonadi-contact4 4:4.6.2-1 library for using the Akonadi PIM ii libakonadi-kde4 4:4.6.2-1 library for using the Akonadi PIM ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libgcc1 1:4.6.0-2 GCC support library ii libgpgme++2 4:4.6.2-1 c++ wrapper library for gpgme ii libkabc4 4:4.6.2-1 library for handling address book ii libkcal4 4:4.6.2-1 library for handling calendar data ii libkcmutils4 4:4.6.2-1 utility classes for using KCM modu ii libkde3support4 4:4.6.2-1 KDE 3 Support Library for the KDE ii libkdecore5 4:4.6.2-1 KDE Platform Core Library ii libkdepim4 4:4.4.11.1-1 KDE PIM library ii libkdeui5 4:4.6.2-1 KDE Platform User Interface Librar ii libkhtml5 4:4.6.2-1 KHTML Web Content Rendering Engine ii libkimap4 4:4.6.2-1 library for handling IMAP data ii libkio5 4:4.6.2-1 Network-enabled File Management Li ii libkldap4 4:4.6.2-1 library for accessing LDAP ii libkleo4 4:4.4.11.1-1 certificate based crypto library ii libkmime4 4:4.6.2-1 library for handling MIME data ii libknotifyconfig4 4:4.6.2-1 library for configuring KDE Notifi ii libkontactinterface 4:4.6.2-1 Kontact interface library ii libkparts4 4:4.6.2-1 Framework for the KDE Platform Gra ii libkpgp4 4:4.4.11.1-1 gpg based crypto library ii libkpimidentities4 4:4.6.2-1 library for managing user identiti ii libkpimtextedit4 4:4.6.2-1 library that provides a textedit w ii libkpimutils4 4:4.6.2-1 library for dealing with email add ii libkresources4 4:4.6.2-1 KDE Resource framework library ii libksieve4 4:4.4.11.1-1 mail/news message filtering librar ii libktnef4 4:4.6.2-1 library for handling TNEF data ii libmailtransport4 4:4.6.2-1 mail transport service library ii libmessagecore4 4:4.4.11.1-1 message core library ii libmessagelist4 4:4.4.11.1-1 message list library ii libmimelib4 4:4.4.11.1-1 MIME library ii libnepomuk4 4:4.6.2-1 Nepomuk Meta Data Library ii libphonon4 4:4.6.0really4.5.0-2 multimedia framework from KDE - co ii libqt4-dbus 4:4.7.2-3 Qt 4 D-Bus module ii libqt4-network 4:4.7.2-3 Qt 4 network module ii libqt4-qt3support 4:4.7.2-3 Qt 3 compatibility library for Qt ii libqt4-xml 4:4.7.2-3 Qt 4 XML module ii libqtcore4 4:4.7.2-3 Qt 4 core module ii libqtgui4 4:4.7.2-3 Qt 4 GUI module ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3 ii libthreadweaver4 4:4.6.2-1 ThreadWeaver Library for the KDE P ii perl 5.10.1-20 Larry Wall's Practical Extraction ii phonon 4:4.6.0really4.5.0-2 multimedia framework from KDE - me Versions of packages kmail recommends: ii gnupg-agent 2.0.17-2 GNU privacy guard - password agent pn gnupg2 <none> (no description available) ii pinentry-qt4 [pinentry-x11] 0.8.1-1 Qt-4-based PIN or pass-phrase entr Versions of packages kmail suggests: ii clamav 0.97+dfsg-2 anti-virus utility for Unix - comm ii kaddressbook 4:4.4.11.1-1 address book and contact data mana pn kleopatra <none> (no description available) pn procmail <none> (no description available) pn spamassassin | bogofilter | <none> (no description available) -- no debconf information
#!/usr/bin/perl use MIME::QuotedPrint; use HTML::Entities; use Mail::Sendmail 0.75; $boundary = "====" . time() . "===="; $mail = 'your.m...@example.org'; %mail = ( from => $mail, to => $mail, subject => 'Test HTML mail', 'content-type' => "multipart/alternative; boundary=\"$boundary\"" ); $html = "<a href=\"#link\">A link</a><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><a name=\"link\">A target</a>"; $boundary = '--'.$boundary; $mail{body} = <<END_OF_BODY; $boundary Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html>$html</html> $boundary-- END_OF_BODY sendmail(%mail) || print "Error: $Mail::Sendmail::error\n";