11-18-2006
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
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
1 Replies
2. UNIX for Dummies Questions & Answers
Hello
Following command send link to division managers.
echo http://severname:8081/account-reports/2008Jun19-2008Jun25.2/index.html | mail -s "Weekly Division Sales Report" johndoe@companmail.com
QUESTION.
Above command send a body which is link of division report in email
with... (1 Reply)
Discussion started by: paulds
1 Replies
3. Shell Programming and Scripting
I am sending email with attachment using mail and uuencode command.
Ex:
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "applmgr@rigelapp01.us.dell.com". I want to change this email address into... (1 Reply)
Discussion started by: balajiora
1 Replies
4. Shell Programming and Scripting
Hi All,
I have a ksh script, in which it sends mail successfully but from root id(root@system.com). I want it to be sent as customid@system.com.
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 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have a postfix server that relays to an exchange server. All of my unix/linux systems send to this server, the problem is the form the mail is sent with,
the sender address is
username@hostname.domain.local
I need to rewrite every sender address to
unix@maildomain.com
for... (0 Replies)
Discussion started by: funksen
0 Replies
6. Red Hat
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
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
0 Replies
7. Shell Programming and Scripting
Can any one help me in this ???
How to change sender's name or email address in Mutt command??? (4 Replies)
Discussion started by: sarathi
4 Replies
8. UNIX for Advanced & Expert Users
Hi expert
I use
mail -s "hello" bruce@sohu.com <kernel-img.conf
send mail, it display the sender is lyang001@lyang001-OptiPlex-9010.corp.ad..com
How can I change the sender to yanglei.fage@gmail.com to default ? (1 Reply)
Discussion started by: yanglei_fage
1 Replies
9. Red Hat
Hi,
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" -fno-reply@alert.com
But I am getting... (4 Replies)
Discussion started by: jaggy
4 Replies
10. Shell Programming and Scripting
Hi,
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.
Please suggest
Use code... (1 Reply)
Discussion started by: usrrenny
1 Replies
LEARN ABOUT OPENSOLARIS
from
from(1B) SunOS/BSD Compatibility Package Commands from(1B)
NAME
from - display the sender and date of newly-arrived mail messages
SYNOPSIS
/usr/ucb/from [-s sender] [username]
DESCRIPTION
The from utility prints out the mail header lines in your mailbox file to show you who your mail is from. If username is specified, user-
name's mailbox is examined instead of your own.
OPTIONS
The following option is supported:
-s sender Only display headers for mail sent by sender.
USAGE
See largefile(5) for the description of the behavior of from when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
FILES
/var/mail/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
biff(1B), mail(1B), attributes(5), largefile(5)
SunOS 5.11 28 Jan 2004 from(1B)