Sponsored Content
Top Forums Shell Programming and Scripting Email with jpg picture embedded - inline Post 302908364 by sivakumar121 on Monday 7th of July 2014 09:06:04 AM
Old 07-07-2014
Really the code would be like this -

Code:
while IFS= read -r line
do
        cat $SCRIPTDIR/mailtype1html.sh | sendmail -t "$line"
done <"$file"

 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

picture

How i do i post a picture below my name as some of u have???? Is there a rule like only those who are moderators, administrators only can have a picture below their names??? If not, then kindly tell me how to post a picture below my name?? Thanks, Nisha :rolleyes: (44 Replies)
Discussion started by: Nisha
44 Replies

2. Shell Programming and Scripting

PHP: display text and picture

Can someone give me a script in php to: Connect to Mysql: DB= content TABLE = message Enter text , about 3000 characters, and put a image either left or right, top or bottom or the text. Please someone make me this script, ive spent several hours trying to figure it out. (1 Reply)
Discussion started by: perleo
1 Replies

3. UNIX for Dummies Questions & Answers

Changing picture at banner?

On my Ultra 60, when booting and at the banner screen, on the top left is a picture of a globe. On another machine (Ultra 60) its a picture of a Sun. Is this something on the graphics card, or is this picture located somewhere else and able to be changed? (0 Replies)
Discussion started by: ridgeback00
0 Replies

4. Shell Programming and Scripting

Rename all ".JPG" files to ".jpg" under all subfolders...

Hi, Dear all: One question ! ^_^ I'm using bash under Ubuntu 9.10. My question is not to rename all ".JPG" files to ".jpg" in a single folder, but to rename all ".JPG" files to ".jpg" in all subfolders. To rename all ".JPG" to ".jpg" in a single folder, for x in *.JPG; do mv "$x"... (7 Replies)
Discussion started by: jiapei100
7 Replies

5. UNIX for Dummies Questions & Answers

Need help! How to gnuplot a picture??

I would like to ask if I have already plot a graph using gnuplot, the setting(made by others) is in "gnuplot.defaults": gnuplot> load '<ParadisDir>/inputs/gnuplot.defaults' gnuplot> splot 'box.in' with lines, '0t0001' w lines How to transform it to bmp file? (or other types of pictures?) ... (2 Replies)
Discussion started by: kelvin490
2 Replies

6. Programming

Download http picture using C++

Dear all, I am working on writing the script which can read a file (having the html path for some pictures) and download those picture in the given local directory. Please find my iniatitve here, however I am still not able to figure out the 'download' command. Any help is appreciated. ... (1 Reply)
Discussion started by: emily
1 Replies

7. UNIX for Beginners Questions & Answers

Create movie from jpg (or other picture format) file

hi linux expert is there any program for create movie file from pictures file (like jpg)? Many Thanks samad (1 Reply)
Discussion started by: abdossamad2003
1 Replies
MAILSTATS(8)						      System Manager's Manual						      MAILSTATS(8)

NAME
mailstats - display mail statistics SYNOPSIS
mailstats [-c] [-o] [-p] [-P] [-C cffile] [-f stfile] DESCRIPTION
The mailstats utility displays the current mail statistics. First, the time at which statistics started being kept is displayed, in the format specified by ctime(3). Then, the statistics for each mailer are displayed on a single line, each with the following white space separated fields: M The mailer number. msgsfr Number of messages from the mailer. bytes_from Kbytes from the mailer. msgsto Number of messages to the mailer. bytes_to Kbytes to the mailer. msgsrej Number of messages rejected. msgsdis Number of messages discarded. msgsqur Number of messages quarantined. Mailer The name of the mailer. After this display, a line totaling the values for all of the mailers is displayed (preceded with a ``T''), separated from the previous information by a line containing only equals (``='') characters. Another line preceded with a ``C'' lists the number of TCP connections. The options are as follows: -C Read the specified file instead of the default sendmail configuration file. -c Try to use submit.cf instead of the default sendmail configuration file. -f Read the specified statistics file instead of the statistics file specified in the sendmail configuration file. -P Output information in program-readable mode without clearing statistics. -p Output information in program-readable mode and clear statistics. -o Don't display the name of the mailer in the output. The mailstats utility exits 0 on success, and >0 if an error occurs. FILES
/etc/mail/sendmail.cf The default sendmail configuration file. /etc/mail/statistics The default sendmail statistics file. SEE ALSO
mailq(1), sendmail(8) $Date: 2013-11-22 20:51:51 $ MAILSTATS(8)
All times are GMT -4. The time now is 08:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy