Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail

V.P
Frequent Advisor

Sendmail

Hi Admins,

I am using the command: /usr/sbin/sendmail -v -s "Checklist" mailbox@domain.com < /tmp/checklist_$date - to send the mail, but the mail which am receiving, does not have any subject. Please advice.
2 REPLIES
Horia Chirculescu
Honored Contributor

Re: Sendmail

Hello, VP

Just write the header in the first line of the sendmail `body` and it will be sent.

In checklist_$date file you should have at the beginning the line:

Subject: My_Subject_Problem_Is_Solved

Horia.

Best regards from Romania,
Horia.
V.P
Frequent Advisor

Re: Sendmail

Thanks Horia,

Issue solved. Instead of senmail i used mailx.

Thanks Again.