Not able to attach text in body of email while sending mail with attachment
Hi,
We have been trying to send mail with attachment and it is going fine, but when we try to attach a text to the body of the email, we find that the mail is going fine with the body text but the attachment is not going through. We are using ksh.
The command that is successfull without the body of text is;
The following command sends the mail with the body text but not attachment;
In the second command the "test.txt" file has the body text of the mail.
We would like to send mail with attachment and with some text in the body of the mail.
Can someone help me in this case. Thanks in advance.
Hi,
Can some one help me with the syntax of the mailx that should send an attachment and also some text in the message body together.
When I am using the following syntax it is not sending the attachment but only the message body.
unix2dos -ascii $REPORTFILE | uuencode $PCFILE | mailx -s... (7 Replies)
I spent some time working this out, with a little help from various forums, and thought the community would like to know :
Here is how you can send an email from a single Unix command line :
/usr/bin/echo "Email text\nNew line\nAnother new line" >x | uuencode sourcefile.txt sourcefile.txt |... (3 Replies)
hi
plz help me in sending a mail with some data in body and an attachment as some txt file.
currently i am able to send mail with some body content, i need an example how to send the same along with attachment.
thanks in advance
-bali (2 Replies)
Hi,
Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement.
---------------------
(uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
--------------------
I m not able to send any message in the... (4 Replies)
How can I send mail with attachment in HP-UX
I am able to send mail with specific body,but not successful while attaching a file.
I am using the below command however it stuck :
uuencode test.txt |mailx -s "Subject" <e-mail id> (5 Replies)
Hi
I want to able to attach a file to a email and send it with a body
the body of the email is within the "body" file, and the attachment in "atch"
if i send like below it will send the email correctly
/usr/sbin/sendmail me@you.com< body
And when i send the attachment alone... (3 Replies)
Hi All,
In my .ksh script, I am sending an email with body and attachment (.txt) using sendmail command. I am able to receive the attachement along with the body of the mail. But I am getting special characters along with the content in the .txt. Also the alignment is incorrect. Can you please... (7 Replies)
I have a file named email.html with this as the contents:
Content-type: text/html
ACHI,ACCRETIVE HEALTH ,7.15,<br>CPRT,Copart Inc.,36.14,<br>GEOB.MX,GEO-B,1.660,<br>GCO,Genesco Inc. Comm,73.58,<br>GMAN,Gordmans Stores, ,<br>GES,Guess? Inc. Comm,26.45,<br>KBR,KBR Inc. Common... (1 Reply)
Hello experts!!
I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment.
I tried below command:
(echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies
LEARN ABOUT DEBIAN
gpg-mailkeys
GPG-MAILKEYS(1) General Commands Manual GPG-MAILKEYS(1)NAME
gpg-mailkeys - sends emails containing keys to their owners
SYNOPSIS
gpg-mailkeys id...
DESCRIPTION
gpg-mailkeys sends the owners of the keys listed on the command line a mail each, containing their public key. After signing, you can use
this tool to send everyone the new signatures they just got.
If you're interested in encrypting the signature before it's sent, in order to verify that the associated address actually belongs to the
key owner, you should check out caff
OPTIONS
None
ENVIRONMENT
NAME Set the name to use when sending messages
EMAIL Set the email address to use when sending messages
SUBJECT Set the subject of the messages you send
TEXT Set the body text of the messages
SENDMAIL_ARGS
Set arguments to pass to /usr/sbin/sendmail. This can be useful to set credentials in order to authenticate to an smtp server
when using ssmtp for example.
FILES
The behavior of gpg-mailkeys can be updated through some files available in the user home directory.
Thus, ~/.gpg-mailkeysrc allows the user to overwrite the default value for the above environment variables, and any text in ~/.signature
will be appended to the end of the body text of the message.
SEE ALSO gpg(1),caff(1)AUTHOR
This manual page was written by Simon Richter <sjr@debian.org>.
Nov 23, 2010 GPG-MAILKEYS(1)