10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello, I am new to the Unix thing, and I am having trouble sending attachments via shell client putty through mailx.
The command I use is
$ mailx -s "Subject" user@blah.com < attachment.txt
but everytime I do that it would say Cannot open attachment.txt
I have the file save to my computer... (5 Replies)
Discussion started by: mrobin20
5 Replies
2. Solaris
Hi,
I need help with mailx. When I run the below mailx command, it works fine because the exit code is fine, and the message is sent to /usr/mail/<id>
echo "This is a test message" | mailx -s "Test" <my email address>
My question is, how do I get it to reach my email address (on outlook... (2 Replies)
Discussion started by: ChicagoBlues
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I have a unix server on which mailx is configured . Earlier i was getting proper mails but now some mails are getting stuck and i am not receiving the emails from the server.
I can see the mails in mailq.
Can you please help me with this . How can i receive these emails? (2 Replies)
Discussion started by: pratikm23
2 Replies
4. Shell Programming and Scripting
I have created a shell scripts and wanted to email users multiple attachments using mailx. I noticed that when I do a man on mailx I see and -a option for attachments. When I run a:
mailx -s "test attachments" -a include_file -a exclude_file testuser@mydomain.com
(Interrupt -- one more to... (1 Reply)
Discussion started by: metallica1973
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to send html email using mailx like follow on sh shell (Bourne) on HP-UX:
mailx -s "Test HTML output in outlook
MIME-Version: 1.0
Content-Type: text/html" receiver@host.com < file.txt
Content of file.txt are as follows:
<html>
<h2>An important link to look at!</h2>... (3 Replies)
Discussion started by: manubatham20
3 Replies
6. Shell Programming and Scripting
Hi all,
I need to send a variable value in the script through mailx. Please find the script below but its not working.
agents.sh:
agents=`grep "Tot Agents " snapshot.dbm`
if (( $? == 0 )); then
mailx abc@gmail.com $agents
fi (3 Replies)
Discussion started by: db2cap
3 Replies
7. Shell Programming and Scripting
Hi
I tried reading docs from this forum and googled it...but i couldnt get the answer for attaching a document in mail.
I need it to be the actual attachement not adding the content of the file to the body of the mail..
i used uuencode ...to encode the file but it is coming as a junk... (4 Replies)
Discussion started by: aemunathan
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Please help me regarding sending mails using mailx command in unix.
I will be glad if some one give me the sintax of this. I tried using the below but vain.
mailx -s 'Hi' 'xyz@abc.com'
Regards,
Manas (5 Replies)
Discussion started by: manas6
5 Replies
9. Shell Programming and Scripting
while trying to send a mail, though the output file doesn't contain any exclamatory mark(!), i am getting that in the mail with an extra line. please help me out from this ASAP. (3 Replies)
Discussion started by: pvamsikr
3 Replies
10. UNIX for Dummies Questions & Answers
hi
can i know how to use mailx to send email to my lotus email account?
i wan to send a file in a directory as an attachment and then email to lotus.
can show me the command line to do it? thanks a lot (1 Reply)
Discussion started by: legato
1 Replies