Sendmail with header and footer logo in HTML body


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Sendmail with header and footer logo in HTML body
Prev   Next
# 9  
Old 05-10-2013
Hello Yoda,

Good morning!

Very much appreciated your prompt reply on my post yesterday. I'll try your suggested solution and we'll keep you posted.

Thanks much.

Cheers,

JL

---------- Post updated at 12:42 PM ---------- Previous update was at 11:13 AM ----------

Hi Yoda,

You're a GENIUS! It's worked! flawlessly :-)

I'm currently working now on html file without hardcoding the html code within the bash script. Because when I cat the html file WITHIN it doesn't shows both the jpg and gif file. Hope I'll be able to figure this out.

Once again, thank you very much for your help.

sidenote: I close this post as RESOLVED.

Cheers,

JL

Last edited by lawrence88; 05-10-2013 at 05:25 PM..
This User Gave Thanks to lawrence88 For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question
wml::std::logo(3)						     EN Tools							 wml::std::logo(3)

NAME
wml::std::logo - Logo Insertion SYNOPSIS
#use wml::std::logo <logo [attributes]> DESCRIPTION
This include file provides the "<logo>" tag to insert logo images. The logo is selected via attribute "name". The following logos are available: Name Inserted Hint Inserted URL -------- ------------------------------ ---------------------------- apache Apache Webserver Project http://www.apache.org/ freebsd FreeBSD Operating System http://www.freebsd.org/ gimp GNU Image Manipulation Program http://www.gimp.org/ htdig Internet search engine http://www.htdig.org/ linux Linux Operating System http://www.linux.org/ netbsd NetBSD Operating System http://www.netbsd.org/ openbsd OpenBSD Operating System http://www.openbsd.org/ php PHP Hypertext Preprocessor http://www.php.net/ vim Vi Improved Editor http://www.vim.org/ wml Website META Language http://www.engelschall.com/sw/wml/ xemacs XEmacs Editor http://www.xemacs.org/ ATTRIBUTES
"name" The "name" attribute selects which logo is wanted. The table above lists valid names, and wml is used by default. "base" Usually the logos are copied into logo-xxxxxx.png where "xxxxxx" is the name of the logo. When you use a "base=foo" attribute, then the resulting files are named foo.logo-xxxxxx.png. Actually you can even use a complete filename including a directory prefix, i.e. when you use "base=../../common/foo" attribute, then the images are created as ../../common/foo.logo-xxxxxx.png. And for most flexibility when no base is specified and the variable "LOGO_BASE" is defined (usually from within a .wmlrc file via "-LOGO_BASE~path/to/logo/dir/base") it is used. Use this feature to copy the logos to a particular directory. You may also use the variable "IMAGE_BASE" which defines in a single line all base names for images generated by WML. "format" Logos are available in PNG or GIF formats. This attribute is the filename extension of the desired format, i.e. respectively "png" and "gif". Default is "png" extension ; this default can be changed via the "IMAGE_FORMAT" variable. "file" This attribute defines the logo filename. It overrides all other computed values. "target" If the "target" attribute is used, it refers to a target frame or window where the hyperlink is redirected to. "notag" This forces "<logo>" to expand to nothing, i.e. no resulting "<img>" tag. The image itself is still generated. In combination with the above "file" attribute this can be used to generate images to particular files which can be used at other positions, for instance inside "<rollover>" (see wml::des::rollover(3)) tags. EXAMPLE
This example only copy the vim logo to "$(IMAGES)/logo-vim.png" without any output: <logo name=vim format=png base="$(IMAGES)/logo" notag> AUTHORS
Ralf S. Engelschall rse@engelschall.com www.engelschall.com Denis Barbier barbier@engelschall.com REQUIRES
Internal: P1, P2, P3 External: -- HISTORY
For backward compatibility a logo named "php3" is also available. Inluding the version number was not a really good idea, use the logo "php" instead. Expect that the logo "php3" will be removed in future releases. SEE ALSO
wml(1) EN Tools 2014-04-16 wml::std::logo(3)