08-13-2005
Thanks so much, my apologies, should have found that myself, still checking out the forum. Thanks again.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm writing scripts on HP-UX. Is there a way to attach a file to a mail message. I don't want to imbed the data in the mail message. (1 Reply)
Discussion started by: Multithreaded
1 Replies
2. UNIX for Dummies Questions & Answers
I am using the following command to send a zip file as an attachment to my internet email-id.
uuencode ABC_DEFG_HIJ.zip ABC_DEFG_HIJ.zip | mail -s "attachment from shell" pal@yahoo.com
Eventhough i have given the attached file as 'ABC_DEFG_HIJ.zip', when i receive the mail in my internet... (3 Replies)
Discussion started by: Pal
3 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
i have tried the following command to send an email with an attachment
its working fine but i am getting mail with the embeded content inside the mail that too truncated.
i wanted it as an attachment.
/usr/lib/sendmail -F "MAC SIA" address "rajendra@abc.com.sg" -t <... (6 Replies)
Discussion started by: rajendragora
6 Replies
4. AIX
Hi,
How can I send mail attachments from shell script (AIX) and have a mail body as well ?
Thanks in advance. (1 Reply)
Discussion started by: shibajighosh
1 Replies
5. Solaris
I want to send a mail with three attachments, but nothing happened. I tried it with mail and mailx.
Are there special options for these commands or is it not possible to send mails under Solaris with attachments? Must there be special adjustments in the environment?
Can anyone give an... (6 Replies)
Discussion started by: ninjadan
6 Replies
6. UNIX for Advanced & Expert Users
Hi ,
Whenever I try to send mails with attachments to external email Id's the attachment is not encoded properly which appears along with body (text) of the mail.
The attachement is always getting corrupted. Can anyone please suggest a solution.
Regards,
Sandipan (1 Reply)
Discussion started by: Sandipan
1 Replies
7. HP-UX
Hi,
I am executing the following command in order to send a file as an attachment:
mailx -s "Subject" emailID@xyz.com < Testfile.txt
Instead of attaching the file Testfile.txt, it is writing the contents of the file in the email message body. Please advise on how I can send the file as an... (7 Replies)
Discussion started by: sangharsh
7 Replies
8. Shell Programming and Scripting
:wall:hi all,
please somebody can help me out in reading the pop3 mail attachments or saving it locally
i have a mail account where i receive .csv attachments i need to read that attachments and process them.
any sample code can be much appriciated
Removed email
:wall: (3 Replies)
Discussion started by: srikanthkadapal
3 Replies
9. Shell Programming and Scripting
Hi,
Request you to please help on my issue.
My issue is: We are able to send the log files as an email attachment. We are able to get the attachment in our inbox. But when we try to see in web mail, instead of the attachment, junk characters are displaying.
Appreciate your help.
Regards,... (10 Replies)
Discussion started by: gi.srinivas
10 Replies
10. Shell Programming and Scripting
Hi,
I need to send a mail with html code in body and an attachment along with the body and subject.
The html code must display a table with data in it in the mail.
I have tried the 'sendmail' command, but I am am able to display the table in the mail and unable to attach an attachment.
... (5 Replies)
Discussion started by: Durga Prasad NK
5 Replies
LEARN ABOUT OSF1
vacation
vacation(1) General Commands Manual vacation(1)
NAME
vacation - Informs senders of mail that recipient is absent
SYNOPSIS
vacation -I
The vacation command returns a message to the sender of a mail message, saying that the recipient is on vacation or otherwise absent.
OPTIONS
Initializes the $HOME/.vacation.pag and $HOME/.vacation.dir files. Execute this option before you modify your $HOME/.forward file.
DESCRIPTION
The vacation command accepts standard input and attempts to send a vacation message to the user specified in that input, which should be a
mail message. The vacation command is usually invoked in your $HOME/.forward file, which is used to forward your mail to another username.
When you want vacation messages to be sent to users who send you mail, enter the following in your $HOME/.forward file:
user, "|vacation user"
Replace user by your username. This allows mail sent to you to be both received by you and piped to the vacation command; vacation reads
the mail message, determines the sender, and sends a reply. The sender receives a vacation message, and the original mail is waiting in
your mailbox when you return.
When vacation is invoked without the -I option, as in the file, it reads the first line from the standard input for a From line to deter-
mine the sender. If this is not present, an error message is produced. (All properly formatted incoming mail should include a From line.)
No vacation message is sent if the From header line indicates that the message is from Postmaster; from MAILER-DAEMON; if the initial From
line includes the string -REQUEST@; or if a Precedence: bulk or Precedence: junk line is included in the header.
You must initialize vacation for your username by issuing the command vacation -I before you can use the vacation command.
The vacation command expects a $HOME/.vacation.msg file containing a message to be sent back to each sender. The file should be an entire
message, including any desired headers, such as From or Subject. This message will be sent only once a week to each unique message sender.
(If this file does not exist, vacation uses /usr/share/lib/vacation.def, a system-wide default vacation message, if it exists.)
The names of people who have sent you messages are kept in the files $HOME/.vacation.pag and $HOME/.vacation.dir. These files are created
when you initialize vacation for your username with vacation -I.
EXAMPLES
If your username is myra and you want to send a message once a week to each person who has sent you mail, initialize vacation by entering:
vacation -I
Next, add the following line to your $HOME/.forward file (create this file if it does not exist):
myra, "|vacation myra"
If you want to send a vacation message other than the system default message in /usr/share/lib/vacation.def, create the file in your home
directory and enter the message in it. For example:
From: myra@k.table (Myra Louise Minter) Subject: I am on vacation. Delivered-By-the-Graces-Of: the Vacation program
I am on vacation until October 1. If you have something urgent, please telephone Lucy or Sue.
-- Myra
FILES
System-wide default vacation message. Contains address to which mail is forwarded. Contains the names of people who have sent you mail
while the vacation command was being used. Contains the names of people who have sent you mail while the vacation command was being used.
Contains your personal vacation message.
SEE ALSO
Commands: mail(1), mailx(1), sendmail(8)
vacation(1)