1753575 Members
5728 Online
108796 Solutions
New Discussion юеВ

Re: 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 2
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.