Mini_sendmail Command ?!
Me as Linux n00b(well its starting to get better since a few weeks, succesfully installed/configured Nagios & apache) have a problem with a certain command.
I installed mini_sendmail (www.acme.com) and i configured the .c file so that it communicated with oure domino smtp server. That works fine, i can send mail trough it and it arives OK. The problem is that i can only fill in the Subject of the mail. I cant find(searched on google for multiple houres) how the heck i can add the DATA(body) of the mail, this is the command that works ok but only fills in the subject:
I tried alot, like adding
afther the subject part.
echo | 'DATA: bladiebla' '.'
It just refuses to work, it even removes the subject if i add that so that i get blank mails.
Im using Red Hat 9.0
I hope someone can help me becouse this is realy starting to anoy me :P
tnx in advance
OK, i figured out that i could use CAT
Text consisted of this:
It succesfully filled in the correct subject and the body concisted of asdsa(etc.)
Now i still cant figure out how to put this in the command line, i tried \n\n but it doesnt take it, maybe i need to use ASCII for it? (as in #13 for enter(or was it #9? :P).
neway suggestions are very welcome...
Just for ur information, i fixed it myself using the PRINTF command instead of echo...