The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sendmail.cf robsonde UNIX for Dummies Questions & Answers 0 01-28-2008 03:21 PM
sendmail.cf robsonde UNIX and Linux Applications 1 01-25-2008 09:17 AM
regarding sendmail sridharr83 HP-UX 1 12-19-2007 02:37 AM
Sendmail cobroraj UNIX for Advanced & Expert Users 6 11-11-2007 06:17 PM
sendmail dozy UNIX for Dummies Questions & Answers 2 05-27-2003 09:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-17-2008
sushovan sushovan is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 6
Post sendmail not working

Hi
I am trying to send mail using sendmail as well as mai option.But its not getting delivered in the recipient address.However on checking systemlog ,i could find the statusas "sent".What might be the issue.

Regards
S
  #2 (permalink)  
Old 07-17-2008
joeyg's Avatar
joeyg joeyg is offline Forum Staff  
modérateur
  
 

Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
Question command sample helps...

Can you provide an example of the command you are using? I have seen examples where a parameter is being mistaken for part of an address, and was simply overlooked by the programmer.
  #3 (permalink)  
Old 07-18-2008
sushovan sushovan is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 6
Post

Hi
The overall scenario is this:I need to send an html attachment without body:
So i am doing this:
I am adding the following headers in the html file:

From:Sushovan
To:Ssds.sdsdl@ssds.com
Subject: Request for Demo
MIME-Version: 1.0
Content-Type: text/html; charset="iso-8859-1"

<html>
........

</html>

then from my script file i am doing this:

SUBJECT="Type of Exceptions"
TO=Ssds.sdsdl@ssds.com
SPOOLFILE=/tmp/scripsf.html
#echo "Send the E-mail message..."
uuencode $SPOOLFILE $SPOOLFILE | mailx -s "$SUBJECT" $TO


I also tried these options:
/usr/lib/sendmail -t Ssds.sdsdl@ssds.com< $SPOOLFILE;
/usr/lib/sendmail -t -oi < /tmp/scripsf.html


But none of them seems to be working.Now i am not getting any mail.Though i could check in the system log thaat the status is sent.

Thanks in advance
Susovan
Sponsored Links
Closed Thread

Bookmarks

Tags
mailx, mailx attachment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0