10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I m using mailx to send email. I am using
sender=server name(display name)
echo "body" | mailx -s "subject" -b "bcc address" "to address" -- -f "$sender".
I should get email with sender as only display name. In stead i am getting displayname@server address.
Use code... (1 Reply)
Discussion started by: usrrenny
2. Red Hat
I am trying to send a mail using "mail" command in unix. I wanted to give sender name and sender address. I tried different options ,but still it shows only mail address(No name).
mail -s "Alert mail : Nothing running !!!" $email -- -F"Mail Alert" -firstname.lastname@example.org
But I am getting... (4 Replies)
Discussion started by: jaggy
3. Shell Programming and Scripting
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 (email@example.com).
Is there any way to change sender name as a user defined name? example i need to change it to SupportTeam... (1 Reply)
Discussion started by: schandru
4. UNIX for Advanced & Expert Users
mail -s "hello" firstname.lastname@example.org <kernel-img.conf
send mail, it display the sender is lyang001@lyang001-OptiPlex-9010.corp.ad..com
How can I change the sender to email@example.com to default ? (1 Reply)
Discussion started by: yanglei_fage
5. Red Hat
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" firstname.lastname@example.org
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
Discussion started by: rockf1bull
6. Shell Programming and Scripting
I have a ksh script, in which it sends mail successfully but from root id(email@example.com). I want it to be sent as firstname.lastname@example.org.
I verified man pages of mail, and found '-u userid' option. But it is failing.
code snippet below:
mail -s "subject" -u $customid... (7 Replies)
Discussion started by: Arunprasad
7. Shell Programming and Scripting
I am sending email with attachment using mail and uuencode command.
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "email@example.com". I want to change this email address into... (1 Reply)
Discussion started by: balajiora
8. UNIX for Dummies Questions & Answers
Following command send link to division managers.
echo http://severname:8081/account-reports/2008Jun19-2008Jun25.2/index.html | mail -s "Weekly Division Sales Report" firstname.lastname@example.org
Above command send a body which is link of division report in email
with... (1 Reply)
Discussion started by: paulds
When sending emails to the outside world, aix present itself as email@example.com.
This is causing some issue with our e-mail server.
So we need to change the name to firstname.lastname@example.org...
Does any one know how this can be accomplished?
Thank you (3 Replies)
Discussion started by: cchiang12
10. UNIX for Dummies Questions & Answers
I'm on UNIX -Solaris...
I'm trying to send mail usin Mailx..... The script is working fine and attachments are also being sent....
BUT, when I receive the mail,, the sender address shown is the unix login id name.... Any way by which I could manipulate this in my script command or any... (1 Reply)
Discussion started by: vasan_srini