10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” firstname.lastname@example.org < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" email@example.com
mailx -s “Hello world” firstname.lastname@example.org <... (2 Replies)
Discussion started by: scriptscript
2. Shell Programming and Scripting
I have to send a couple of rows that have been returned from a SQL query. I have written the output of the query to a file and while i try to print this in the mail body the formatting goes wrong.
Intended Output in mail body:
Col1 Col2 Col3
------ ... (2 Replies)
Discussion started by: qwertyu
3. Shell Programming and Scripting
I am using mailx to send the mail. Due to some changes in the requirement, I need to send the mail to CC only (an Email id in CC), with no email ID in "TO" field. Can we do that? bcz I used -c flag only and got the message:":The flags you gave make no sense since you're not sending... (2 Replies)
Discussion started by: unankix
I am using solaris 5.9 OS and I am facing an issues with mailx.
My SMTP port is configured to listen 6190 and not the default one which is 25. I can send mail to my inbox when i do it manually through the following steps
root@<dbname> # telnet 22.214.171.124 6190
Trying 126.96.36.199...... (0 Replies)
Discussion started by: Srinathkiru
5. Shell Programming and Scripting
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)
Discussion started by: ashwin3086
6. UNIX for Advanced & Expert Users
I have a need to send a file from the unix command line to be sent as an attachment. Is this possible? That is when I open my outlook email I need to file to appear as an attachment.
Also, is there a way to use the mail binary (not mailx) to modify the "reply address". mailx -r works but I need... (1 Reply)
Discussion started by: kieranfoley
7. UNIX for Dummies Questions & Answers
Can you please help me in solving this. I am facing some problem sending mails.
If I use like this, I am able to send mail the mail
echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'email@example.com'
But if I use like this, then I am unable to send... (1 Reply)
Discussion started by: manas6
8. Shell Programming and Scripting
I am using mailx command to send a mail with attachment. It's working fine, but with attachment I am getting one extra attachment like (ATT00131.txt). I have tried to use unix2dos command also. But still I am getting the extra attachment.
I am using the following code:
subject="temp... (5 Replies)
Discussion started by: viswanatharv
9. UNIX for Dummies Questions & Answers
I am trying to use a file containing email addresses in my mailx command like the following:
SUBJECT="Kronos User Report"
mailx -s "$SUBJECT" $MAILTO < $BODY
This works fine for the body of the message but for the recipient it says:
... (6 Replies)
Discussion started by: sdhalepaska
10. UNIX for Dummies Questions & Answers
I like to use mailx -s to send an entire xxxxx.log to my outlook e-mail account.
Any help will be appreciated.
Thanks. (6 Replies)
Discussion started by: simt