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)
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)
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)
Hi everyone...
I am facing problem with the multiple mail attachments.
cd /work/mohan/pi_log/
mail_file='uuencode ahmedabad.csv ahmedabad.csv ; uuencode ahmedabad_devrpt_20110530.csv ahmedabad_devrpt_20110530.csv'
( $mail_file ) | mailx -m -s"test" domain@website.com
its giving me error... (1 Reply)
: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)
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)
We don't have uuencode installed in our machines..... Please tell me how to send mail with multiple attachments ??? URGENT !!!!!
Please tell me using command line (or) scripts..........
please......
Thanks in Advance.... (1 Reply)
Hi,
i try to send two (multiple) files by the mail-console-command
mail -s TEST -a f1.pdf f2.pdf n.ame@ms123.de
but it doesn't work. can someone give me a hint?
Thanks in advance,
IMPe (2 Replies)
Discussion started by: IMPe
2 Replies
LEARN ABOUT BSD
binmail
BINMAIL(1) General Commands Manual BINMAIL(1)NAME
binmail - send or receive mail among users
SYNOPSIS
/bin/mail [ + ] [ -i ] [ person ] ...
/bin/mail [ + ] [ -i ] -f file
DESCRIPTION
Note: This is the old version 7 UNIX system mail program. The default mail command is described in Mail(1), and its binary is in the
directory /usr/ucb.
mail with no argument prints a user's mail, message-by-message, in last-in, first-out order; the optional argument + displays the mail mes-
sages in first-in, first-out order. For each message, it reads a line from the standard input to direct disposition of the message.
newline
Go on to next message.
d Delete message and go on to the next.
p Print message again.
- Go back to previous message.
s [ file ] ...
Save the message in the named files (`mbox' default).
w [ file ] ...
Save the message, without a header, in the named files (`mbox' default).
m [ person ] ...
Mail the message to the named persons (yourself is default).
EOT (control-D)
Put unexamined mail back in the mailbox and stop.
q Same as EOT.
!command
Escape to the Shell to do command.
* Print a command summary.
An interrupt normally terminates the mail command; the mail file is unchanged. The optional argument -i tells mail to continue after
interrupts.
When persons are named, mail takes the standard input up to an end-of-file (or a line with just `.') and adds it to each person's `mail'
file. The message is preceded by the sender's name and a postmark. Lines that look like postmarks are prepended with `>'. A person is
usually a user name recognized by login(1). To denote a recipient on a remote system, prefix person by the system name and exclamation
mark (see uucp(1C)).
The -f option causes the named file, for example, `mbox', to be printed as if it were the mail file.
When a user logs in he is informed of the presence of mail.
FILES
/etc/passwd to identify sender and locate persons
/usr/spool/mail/* incoming mail for user *
mbox saved mail
/tmp/ma* temp file
/usr/spool/mail/*.lock lock for mail directory
dead.letter unmailable text
SEE ALSO Mail(1), write(1), uucp(1C), uux(1C), xsend(1), sendmail(8)BUGS
Race conditions sometimes result in a failure to remove a lock file.
Normally anybody can read your mail, unless it is sent by xsend(1). An installation can overcome this by making mail a set-user-id command
that owns the mail directory.
7th Edition April 29, 1985 BINMAIL(1)