Hi! I am trying to send a small log as a body of an email. cat linuxfile | mail -s $subject $to_epost Because of the removal of extra line brakes in outlook the e post is hard to read for many. From your pages have I found some ideas? awk '{printf "%s\r\n", $0}' linuxfile | mail -s $subject $to_epost or cat linuxfile | unix2dos | mail -s $subject $to_epost In both cases in the email in outlook is without body, but with 2 attachments. The attachments has the name = subject + “.dat”. The first is 4 bytes smaller than the other. Both looks correct (with all text and with line breaks) in notepad.
This question has been asked many time before. I did search other questions. But was not able to work out.
Really sorry for repeating the same question.
I have mail and mailx and sendmail installed.
It Tried this
uuencode FILENAME.txt FILENAME.txt | mail mymail@yahoo.com
the attachment... (3 Replies)
Hi,
I am facing an issue while sending a mail from unix with attachment.the issue is i am able to send a mail with attachment but...after receiving the mail if u see that the text is continous though it was line by line in original..
UUENCODE is the cmd i am using...
plz help me in this... (1 Reply)
Hi ,
I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Hi,
I have to send the query output as an excel attachmet from UNIX Shell script, for this i have written following shell script and sql file this shell script has created the ho.xls file with correct query output but it doesn't generate the mail that shold contain query output as an excel... (5 Replies)
Hi
Could someone help me with the details on how to send an attachment through mail in unix.
I have an html file in my unix machine and I want this to be send to some mail id, plese help with the steps.
Regards
Ajay (2 Replies)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Hi All,
I am new to unix. I have written the script to identify the delimiter count for my source file and the output I have to capture in another file and that file should sent to mail with attachment. I have tried to send the attachment with below script . But I am not able to do that. Any... (2 Replies)
Hi All,
my requirement send a mail with attachment a abc.txt file.
below is the shell script.
#!/usr/bin/ksh
set -x
#DIR=/appldata/download/mail
MAILTO="krupa.behera@kk.com"
SUBJECT="Report"
BODY="Hi All,"
ATTACH=/projects/psoft/hrdw/pushreports/crons/temp_out... (5 Replies)
Hi,
I want to send an attachment and content in a single mail using unix command can anyone pls help me?
Thanks
Naveen A (6 Replies)
Discussion started by: Pranaveen
6 Replies
LEARN ABOUT DEBIAN
www::topica::reply
WWW::Topica::Reply(3pm) User Contributed Perl Documentation WWW::Topica::Reply(3pm)NAME
WWW::Topica::Index - parse a single Topic mailing list index
SYNOPSIS
my $index = WWW::Topic::Index->new($index_html);
foreach my $message_id ($index->message_ids) {
# the mail has some information and also provides a link to the reply ...
my $mail = WWW::Topica::Mail->new($topica->fetch_mail($mess_id), $mess_id);
# which has other information (like the un-htmled mail and the email address) ...
my $reply = WWW::Topica::Reply->new($topica->fetch_reply($mail->id, $mail->eto), $mail->id, $mail->eto);
}
print "Next offset is ".$index->next."
";
print "Previous offset is ".$index->prev."
";
DESCRIPTION
Used to parse a single reply page from Topica.com's mailing list indexes.
Reply pages have the body of the email (albeit quoted) and potentially a full email address.
METHODS
new <page html> <message id> <eto>
Takes the html of the page, the eto and the message-id and parses the html.
parse <html>
Parse the html to get the subject, email address and body of the email.
id
Get the message id
eto
Get the message eto
email
Get the email address parsed out.
subject
Get the email subject parsed out.
body
Get the email body parsed out.
AUTHOR
Simon Wistow <simon@thegestalt.org>
COPYRIGHT
Copyright (c) 2004, Simon Wistow
perl v5.10.1 2006-01-03 WWW::Topica::Reply(3pm)