To define a sender name in mail command

Hi,

I am using the unix script to send a report on daily basis using the mail command. Here the sender name is appearing as myname i.e. chandru (userid@machine.unix.domain.com).

Is there any way to change sender name as a user defined name? example i need to change it to SupportTeam (userid@machine.unix.domain.com) instead of chandru (userid@machine.unix.domain.com).

Could you please help me whether this is possible in Unix mail command?

Many Thanks in advance.

---------- Post updated at 07:59 AM ---------- Previous update was at 07:38 AM ----------

Can someone help me in the above?

Hello,

It's a kind request please use the code tags while putting code in post.

Here is the example for sendmail command.
If in your script it have given then you can change the values accordingly.

test_file121=/tmp/testfile1211
> ${test_file121}
echo "From: Singh_Singh1@test.com" > ${test_file121}
echo "To: Singh_Singh1@test.com " >> ${test_file121}
echo "Subject: Test" >> ${test_file121}

sendmail -t < ${test_file121}

Thanks,
R. Singh