Sendmail including gif's ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Sendmail including gif's ?
# 1  
Old 07-22-2012
Sendmail including gif's ?

My department uses an outlook mail merge to send login information to multiple users who request access. I would like to use sendmail for obvious reasons. I copied a sample email source, with all the disgusting html formatting from outlook, and can successfully send emails almost exactly as I did in outlook. In order for the html to work I include the following (per previous help on the forum):
Code:
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo "Content-Disposition: inline"

The only thing left is I need to include a logo in the body of the email at the top. I have put the gif into the directory where the email script is, and the logo name is included in the html formatting. I have not changed the name of the gif. The gif as full permissions. I have tried specifying the absolute path of the gif but it still shows as a box containing the name of the file and another smaller box that contains a red X. I'm viewing the email in Outlook (as the user would do) so I'm wondering if Outlook is unable to reference the logo? Perhaps there's another thing I have to echo in in order to show logos? Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

GIF Anim of my AMIGA real Oscilloscope.

Firstly I don't know where to put this so if it is the wrong forum then chastise me... ;oD I built the hardware and wrote the software for an Audio Oscilloscope DC-100KHz in 2001 for the A1200(HD) via the AMIGA parallel port. It clocks the port at 200KHz, although 250KHz was easy enough via a... (4 Replies)
Discussion started by: wisecracker
4 Replies

2. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

3. Solaris

Solaris 10 GIF files corrupt during unzip

Problem occurs on one Solaris build. Every time we unzip the Jan CPU, there are several patches that error out (appears to be related to the GIF files). When we unzip the CPU on another Solaris build to a network storage area, we can execute without issue on the original machine. Any ideas? ... (1 Reply)
Discussion started by: grahamr72
1 Replies

4. Web Development

How do I update GIF file?

Hi, I am trying to help my friend with her website, trying to update this GIF file, I am having so much hard time. Please advice. I have uploaded the GIF file for your review. She wants to keep the same color but just change the scheudle around. It looks so simple but not sure why it's... (3 Replies)
Discussion started by: samnyc
3 Replies

5. UNIX for Dummies Questions & Answers

Command-line tool for .gif files

Hello! I'm searching for a little (as basic as possible) command -line tool for viewing gif animations. I found gThumb and animate (imagemagick), but they both have a little problem... gthumb: no possibility of changing the background when viewing in fullscreen animate: no possibility of... (0 Replies)
Discussion started by: al0x
0 Replies

6. UNIX for Dummies Questions & Answers

bmp to gif using convert

Hi Everyone, I am trying to use "convert" to create a movie from .bmp files. I have about 100 .bmp files which I would like to include. I use the following command: convert *.bmp test.gif The problem is that on the cluster I am using there doesn't seem to be enough memory to do this.... (1 Reply)
Discussion started by: jenjen_mt
1 Replies

7. UNIX for Dummies Questions & Answers

Apache's strange loading of .gif and .jpg images

Hello! I have got next issue: my website is not showing up .gif and .jpg images, but by the direct links (ex. http://somedomain.com/img/logo.gif) i can view them without any problem. Also if any image is clicked from http://somedomain.com/img/ URL , i get error: Forbidden You don't have... (2 Replies)
Discussion started by: v1xon
2 Replies

8. Windows & DOS: Issues & Discussions

Unix text doc with a .gif image

I would like to insert a .gif image into a text file that is generated by a Unix-based database application. Can anyone please tell me how I can achieve this? (7 Replies)
Discussion started by: sunita_rao
7 Replies

9. UNIX for Dummies Questions & Answers

PDF/EPS to GIf/JPG Help!!

Hello. I have a large number of EPS files and a lesser number of PDFs that I need to convert to GIFs/JPGs using a Unix system. Is there a unix utility or application out there that can do this conversion? Thank you in advance for any help you can provide. -Pook (1 Reply)
Discussion started by: PookJP
1 Replies
Login or Register to Ask a Question
mailstats(8)						      System Manager's Manual						      mailstats(8)

NAME
mailstats - Displays statistics about mail traffic SYNOPSIS
mailstats [-o] [-C cffile [-f stfile] FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send- mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st. DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the sendmail.cf file. EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6 43 59K 58 99K 0 0 smtp ============================================================ T 93 136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer. Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer. If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st. FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail RELATED INFORMATION
Commands: sendmail(8) delim off mailstats(8)