|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
"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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Hi! Perderabo
Thanks for your help Riaz |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > "sendmail -t" help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|