Solved

sendmail:  body of text missing from email on one server, but not another

Posted on 2003-10-22
1
302 Views
Last Modified: 2013-12-27
Email is being recieved but the body of the message is missing.  I'm using the following command to send, where $name is the recipiants address

exec /usr/lib/sendmail "$name" < "/tmp/SMINT_tmp.print"

The file, /tmp/SMINT_tmp.print, look as follows.  I have a feeling that my problem may be comming from the Content-Type statement.  After wards I realized i should have just used Content-Type: TEXT/plain; charset=us-ascii.  But why would the message be delivered properly on one server, and then the body of the message be missing on another server.  



Subject: Transaction Report
Content-Type: MULTIPART/mixed; BOUNDARY=\n

10:24:12 10/22/2003 irbydoug   GTN_030721130100992(1)      90J2M AMPK00000001    AIRAMC000001
      BG-SUCCESS
10:23:04 10/22/2003 irbydoug   GTN_020201000024001(1)      90J2M AMPK00000001    Oracle Read Erro
      HG-SUCCESS
10:07:30 10/22/2003 irbydoug   GTN_020201000024001(1)      90J2M AMPK00000001    Oracle Read Erro
      HG-SUCCESS
09:47:01 10/22/2003 irbydoug   GTN_030721130100993(1)      90J2M AMPK00000001    AIRAMC000001
      BG-SUCCESS
09:46:41 10/22/2003 irbydoug   GTN_030721130100992(1)      90J2M AMPK00000001    AIRAMC000001
      BG-SUCCESS
09:40:47 10/22/2003 irbydoug   GTN_020201000024001(1)      90J2M AMPK00000001    Oracle Read Erro
      HG-SUCCESS
09:38:02 10/22/2003 irbydoug   GTN_030721130100992(1)      90J2M AMPK00000001    AIRAMC000001
      BG-SUCCESS
0
Comment
Question by:Smugindividual
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9601122
what are these 2 server.
are they both have the same configurations, like they both are unix running same os and all.

The reason might be your mail configuration is not ready to read this kind of mails on another server.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question