From: "Adam Tuszynski" <at@performaxx.de>
Subject: Can anyone suggest why this script doesn't send an email correctly?
Date: Tue, 20 Mar 2001 10:14:30 +0100 [thread overview]
Message-ID: <NEBBKBHBOLJGMCBECMIDGEBACCAA.at@performaxx.de> (raw)
Hi,
Can anyone suggest why this script doesn't send an email correctly?
in Outlook, Netscape and altavista
everything is OK (HTML and Logo)
in GMX, Hotmail and yahoo,
HTML-text is correct but Logo look like Attachement
and Lycos show nothing!
#!/usr/bin/perl -w
use MIME::Lite;
use strict;
my $gid="my-Logo";
my $html='<A HREF="http://www.domena.pl"><IMG SRC="cid:'.$gid.'"
ALT="Logo"></A> <BR><H1>E-mail as HTML</H1>text bla bla bla<I>
in HTML</I><BR> <HR>';
my $msg = MIME::Lite->new(
From =>'at@performaxx.de',
To =>'adamtuszynski@netscape.net',
Subject =>'test-19.03',
Type =>'multipart/related',
);
my $fancy = $msg->attach( Type =>'text/html',
ReadNow => 1,
Data =>$html);
$fancy->attach(
Type =>'image/jpeg',
Path =>'/usr/local/testserver/Logo.jpg',
Id =>$gid);
if (open(MAILER,"|/usr/lib/sendmail -t -oi -oem")) {
print MAILER $msg->as_string;
close(MAILER);
}
Thank you!
Adam Tuszynski
at@performaxx.de
reply other threads:[~2001-03-20 9:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=NEBBKBHBOLJGMCBECMIDGEBACCAA.at@performaxx.de \
--to=at@performaxx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).