Sponsored Content
Top Forums Shell Programming and Scripting Sendmail with header and footer logo in HTML body Post 302801665 by Corona688 on Thursday 2nd of May 2013 11:58:32 AM
Old 05-02-2013
Quote:
Originally Posted by lawrence88
Hello,

I need help with my script that will send email via sendmail command that will shows both the header and footer logo once the recepient receive the email (e.g. MS Outlook). When I tested to ran the script it will successfully send the email BUT UNFORTUNATELY it doesn't displayed the logos as expected. What shows was there's NO logo showed up in the Header location, and the logo showed up in the Footer location was the header logo image.
Can you show us the exact raw text of the broken email you received?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Inserting Header and footer

Hi All, I have several txt files i need to enter specific header and footer (both are separate) to all these files how can i do this? plz help.. Regards, Raghav (4 Replies)
Discussion started by: digitalrg
4 Replies

2. Shell Programming and Scripting

Sendmail with html attachment and html body

Hi folks, I have a perl script which sends out email after successful completion of job as inline html, I want to send it out as two parts now as html inline and html attachment. see the attached script. Thanks in advance (1 Reply)
Discussion started by: sol_nov
1 Replies

3. Red Hat

Send HTML body and HTML attachment using MUTT command

Hi there.. I need a proper "mutt" command to send a mail with html body and html attachment at a time. Also if possible let me know the other commands to do this task. Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies

4. Shell Programming and Scripting

Sendmail with HTML body and attachment

I have an HTML file I am currently sending in the body of an email. I now have a need to send a csv attachment along with it. I can ONLY use sendmail as mutt and xmail etc are not on the server. Here is what I am currently using: It is possible to add code to add an attachment ??!? { ... (8 Replies)
Discussion started by: atelford
8 Replies

5. Shell Programming and Scripting

Header and Footer...

Hi All, I need to write a script that In my file I have to check header and footer records are available or not. If it is available I have to run the script, otherwise I should not. But current script it is checking only the data inside the script. It is avoiding to check Header and Footer... (1 Reply)
Discussion started by: suresh_target
1 Replies

6. Shell Programming and Scripting

Add header and footer with record count in footer

This is my file(Target.txt) name|age|locaction abc|23|del xyz|24|mum jkl|25|kol The file should be like this 1|03252012 1|name|age|location 2|abc|23|del 2|xyz|24|mum 2|jkl|25|kol 2|kkk|26|hyd 3|4 Column 1 is row indicator for row 1 and 2, column indicator is 1,for data rows... (1 Reply)
Discussion started by: itsranjan
1 Replies

7. UNIX for Advanced & Expert Users

Mutt for html body and multiple html & pdf attachments

Hi all: Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project. There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues. Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies

8. Shell Programming and Scripting

Email body not formatted with html and sendmail

Hi All, I am trying to send the contents of a file as email body. I am using html email and sendmail option of unix. I am using the below piece of code for the same : #!/usr/bin/ksh export MAILTO="email@domain.com" export SUBJECT="Report" export BODY="file_directory_path/test_file.txt"... (1 Reply)
Discussion started by: rockygsd
1 Replies

9. UNIX for Dummies Questions & Answers

Sendmail with HTML body and attachment code issues

Hi, I was working on getting an HTML file in the mail body along with attaching a "csv" file to the mail. Below are the 2 parts of the code. I need help with the second part where I'm sending the mail. The HTML file as an attachment is perfect without any issues and with proper formatting.... (6 Replies)
Discussion started by: aster007
6 Replies

10. Shell Programming and Scripting

Sendmail cmd for html body and attachment not working

Hi, I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well) The below code is perfectly working for sending the html body alone: export MAILTO=abc@xyz.com export CONTENT="/home/abc/list.html"... (2 Replies)
Discussion started by: close2jay
2 Replies
LINUX_LOGO(1)						      Debian GNU/Linux Manual						     LINUX_LOGO(1)

NAME
linux_logo - Color ANSI penguin logo w/ system information. SYNOPSIS
linux_logo [-h | -v ] [-a ] [ -b | -c] [-d] [-D file] [-e file] [-f] [-g | -l] [-k] [-i] [-n] [-p] [-s] [-u] [-x] [-y] [-o Num] [-t string] [-L num | NAME | list | random_xy] [-F format] DESCRIPTION
linux_logo is a program that generates a color ANSI picture of a penguin which includes some system information obtained from the /proc filesystem. OPTIONS
-h Show summary of options. -v Show version of program. -ascii -a Display the logo as monochrome ascii. -banner -b Display the banner-style logo. -classic -c Display the original penguin logo. -d Disable "prettying" of output -D filename Use logo from "filename" -e filename Use cpuinfo from "filename" for debugging purposes -f Force the screen clear before drawing the logo. -F STRING Use custom output STRING for sysinfo. See below for more info. -g Display only the system infomation. -i Ignore the ~/.linux_logo and /etc/linux_logo.conf config files -k Keep sysinfo flushed-left (non-centered) -l Display only the logo. -L ... Custom logo options. See LOGO SELECTION below -o Num Shift output Num spaces to the right -p Preserve cursor location -s Skip the BogoMips test [ speeds up display on non-Linux platforms ]. -t string Display an arbitrary string -u Display the system uptime. -w val Set screen width to val -y Display the load average. PROCESSOR INFORMATION
CPUINFO The cpuinfo supplied in /proc/cpuinfo is not always usable by linux_logo. If the cpuinfo for your microprocessor generates ugly output, send the output from your /proc/cpuinfo to the author. FORMAT The format string special sequences start with # (use ## to print #). All other characters, except for , are printed as is. Seq Description Output ---------------------------------------------------------------- ## # #B Bogomips 374.37 #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999 #E User Text My Favorite Linux Distribution Displayed with -t #H Hostname deranged #L Load average Load average 0.04, 0.01, 0.01 #M Megahertz 188Mhz where supported #N Number of CPU's Two #O OS Name Linux #P Processor or Processors Processor #R Ram 64M in Megabytes #S Plural s #T Type of CPU K6 #U Uptime Uptime 10 hours 59 minutes #V Version of OS 2.2.0-pre5 #X CPU Vendor AMD \n carriage return Notes: o The letter after the # must be capitalized. o Options not available are silently ignored. o Megahertz only available on some platforms and newer kernels. o See defaults.h on how to have #N report in non-english numbers. o Plural [#S] gives nothing if there is 1 cpu, gives 's' otherwise. o The "-y" and "-u" [display uptime and load average] command line options don't affect the output if a custom format is used. The default banner format is: "#O Version #V, Compiled #C #N #M#X#T Processor#S, #R RAM, #B Bogomips Total #H " The default banner format displays the following on the author's computer: Linux Version 2.2.0-pre5, Compiled #47 Fri Jan 8 10:37:09 EST 1999 One 188MHz AMD K6 Processor, 64M RAM, 374.37 Bogomips Total deranged Another example would be: linux_logo -F "Redhat Linux 5.2 Kernel Version #V #U #L " which would display: Redhat Linux 5.2 Kernel Version 2.2.0-pre5 Uptime 11 hours 4 minutes Load average 0.00, 0.00, 0.00 LOGO SELECTION The -L command line option is used to choose which logo to use. o "-L list" will list all of the logos available o "-L NAME" will display the logo with name NAME. o "-L NUM" will display logo with number NUM (deprecated) o "-L random_xy" will pick a logo at random, with criteria xy. When you replace x with the letter: b : pick a random banner mode logo c : pick a random classic mode logo e : pick a logo from either banner or classic When you replace y with the letter: a: pick a random ascii logo n: pick a non-ascii logo e: pick either type of logo So to summarize: "-L random_ba" picks a random ascii banner, "-L random_ce" picks a random classic logo "-L random_ee" picks any logo, etc. DEBIAN
The Debian pre-packaged version of linux_logo includes the Debian logo in addition to the 'Classic' and 'Banner' logos. The Debian logo is the default logo unless one of the other logos is specified on the command line. CONFIG FILES
~/.linux_logo and /etc/linux_logo.conf can be filled with command line options and will be parsed before the actual command line SEE ALSO
/usr/doc/linux_logo, http://www.deater.net/weave AUTHOR
Vince Weaver <vince@deater.net>. This manual page was written by Steve Kostecke <steve@debian.org>, for the Debian GNU/Linux system. Debian 7 July 2007 LINUX_LOGO(1)
All times are GMT -4. The time now is 09:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy