UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old January 21st, 2004, 11:00 AM
riaz_mohd riaz_mohd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 8 riaz_mohd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
"sendmail -t" help

Hi!
I am trying to FTP some files to oracle and every thing is going good and my problem here is "if the FTP fail the mail is going to admin with some blabla as subject but i need to send a message to admin saying `warning these files are not FTP to oracle` i was using [mailx -s] for which some one is not happy so i have to use [sendmail -t] how to send the subject using 'sendmail -t' please help me out because this is very important and i will be really thank full to you

Last edited by riaz_mohd : January 21st, 2004 at 01:14 PM.

Reply With Quote
  #2  
Old January 21st, 2004, 10:59 PM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
This is the wrong approach. You need to use a user agent like mailx. Or you need to be a user agent. And that is complex.

Briefly, you need to format a complete header which includes a subject line. Then you append you message to that. And feed the whole thing into sendmail.

But instead of that, you should use mailx or another user agent. There is nothing wrong with mailx. "some is not happy" is no reason to abandon mailx. If there is a valid technical reason, find out what it is. Otherwise just tell "someone" to go climb a rope and use mailx. You can't please everyone.

Reply With Quote
  #3  
Old January 22nd, 2004, 05:30 PM
riaz_mohd riaz_mohd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 8 riaz_mohd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi! Perderabo

Thanks for your help

Riaz

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > "sendmail -t" help


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway