Sponsored Content
Top Forums Shell Programming and Scripting Body content is in random format while sending email from Linux to my outlook. Post 302922689 by Corona688 on Monday 27th of October 2014 06:40:26 PM
Old 10-27-2014
Outlook is infamous for not just reformatting logs, but absolutely all email however it pleases, to the point of exchanging newlines for spaces when it decides they didn't "really" mean to hit enter there. You could send the logs as a .txt attachment and expect it to open in Notepad. Some people have had some luck sending HTML emails like
Code:
<html><body><pre>(preformatted text)</pre></body></html>

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

To send an email with the body content extracted from a file

Hi, I have been trying to shoot an email with the email body to be obtained from a file. Can someone please help me with it.. I have been trying to use the MAILX commad for the same. mailx -s "test email" -r sender@test.com < file.txt but it sends the file as an attachment,while i... (3 Replies)
Discussion started by: rohit.shetty84
3 Replies

2. Shell Programming and Scripting

how to send an email with some body content and attachment

hi plz help me in sending a mail with some data in body and an attachment as some txt file. currently i am able to send mail with some body content, i need an example how to send the same along with attachment. thanks in advance -bali (2 Replies)
Discussion started by: balireddy_77
2 Replies

3. Shell Programming and Scripting

Not able to attach text in body of email while sending mail with attachment

Hi, We have been trying to send mail with attachment and it is going fine, but when we try to attach a text to the body of the email, we find that the mail is going fine with the body text but the attachment is not going through. We are using ksh. The command that is successfull without the... (6 Replies)
Discussion started by: jmathew99
6 Replies

4. UNIX for Dummies Questions & Answers

Sending email with attachment and body

Hi I want to able to attach a file to a email and send it with a body the body of the email is within the "body" file, and the attachment in "atch" if i send like below it will send the email correctly /usr/sbin/sendmail me@you.com< body And when i send the attachment alone... (3 Replies)
Discussion started by: sridanu
3 Replies

5. Shell Programming and Scripting

Sending an email with a body and attachments using uuencode

Hi, Im having a bit of an issue with using the uuencode command and sending out an email. My aim is to send an email out which has a body and also have attachments. Currently I can either get one or the other and not both on the same email. uuencode... (4 Replies)
Discussion started by: 02JayJay02
4 Replies

6. Shell Programming and Scripting

Outlook Email Body Format Issue

Hello All, I been trying to get a solution for a while not able to figure out. I am generating a file and sending that as an body of message to my outlook account. For some reason reason everything is showing up as one line in the email. for i in `cat "${GEN_PARAM_LIST3}"` do ... (0 Replies)
Discussion started by: Ariean
0 Replies

7. Shell Programming and Scripting

Message Body while sending an email

I am making use of the following code to display the results of my txt file in an email: mail -s 'Count Validation Test Comparison Results' Ronit@XYZ.com < Count_Validation_Results_`date +%m%d%Y`.txt Email Output: ----------Query 1 Count Validation Results-------- Source count is 4 Target... (7 Replies)
Discussion started by: ronitreddy
7 Replies

8. Shell Programming and Scripting

Sending sql output to email body with conditional subject line

hi , i have written below piece of code to meet the requirement but i am stuck in the logic here. the requirement are: 1) to send the sql out put to email body with proper formatting. 2) if count_matching = Yes then mail should triggered with the subject line ... (10 Replies)
Discussion started by: itzkashi
10 Replies

9. Red Hat

Sending email with message body and attachment

Hello experts!! I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment. I tried below command: (echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies

10. Shell Programming and Scripting

UNIX script email to outlook report format

I have a ksh script that emails a report to outlook from a Unix Solaris. On server the report formatted perfectly. However, the email version the format is not. On the server report looks like this: TN Region Old SPiAD Server Order/Req Local Status NAAC Status Request Date New... (1 Reply)
Discussion started by: mrn6430
1 Replies
Arch::Test::Tree(3pm)					User Contributed Perl Documentation				     Arch::Test::Tree(3pm)

NAME
Arch::Test::Tree - A test framework for Arch-Perl SYNOPSIS
use Arch::Test::Framework; my $fw = Arch::Test::Framework->new; my $tree = $fw->make_tree($dir, $version); my $dir = $tree->add_dir; $tree->add_file($dir); $tree->import; DESCRIPTION
Arch::Test::Tree provides methods to quickly build and modify Arch project trees within the Arch::Test framework. METHODS
new, root, framework, run_tla, add_file, add_dir, add_link, modify_file, rename_file, rename_dir, remove_file, remove_dir, inventory, import, commit. new [framework] [path] Create a new Arch::Test::Tree instance for path. This method should not be called directly. root Returns the project trees root directory. framework Returns the associated Arch::Test::Framework reference. run_tla @args Run "tla @args" from the tree root. add_file [dir [name [content]]] Add a new file name in directory dir. Fill file with content. dir defaults to the project root ("."). If name is not specified, a unique filename is generated. A default content is generated if none is given. add_dir [parent [name]] Add a new directory under parent, or "." if parent is not specified. If name is not given, a unique name is generated. add_link [parent [name [target]]] Add a new symbolic link under parent, or "." if parent is not specified. If name is not given, a unique name is generated. If target is omitted, a (probably) non-existing target is generated. modify_file file [content] Change files content to content, or append "Has been modified." if new content is omitted. rename_file old new Rename file old to new. Returns new. rename_dir old new Rename directory old to new. Returns new. remove_file file Delete file and its associated arch id. remove_dir dir Recursively delete dir and its content. inventory [flags] Returns the inventory as generated by running "tla inventory flags". flags default to "-Bs" if not specified. import [summary [log]] Create a "base-0" revision from tree using the summary line summary and log as log text. If tree contains a log file, summary and log can be omitted. commit [summary [log]] Commit a "patch-n" revision from tree using the summary line summary and log as log text. If tree contains a log file, summary and log can be omitted. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). Enno Cramer (uebergeek@web.de--2003/arch-perl--devel). perl v5.10.1 2005-04-14 Arch::Test::Tree(3pm)
All times are GMT -4. The time now is 08:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy