Hi,
I want to know how to send a mail in unix using mailx or mail or sendmail to send a mail with a file attached. I have read the answers from the other threads but I still don't understand. I want to do it in the command line as well as in script.
Can anyone help? DO I need to use... (1 Reply)
I use maix command to sent mails.
i can sent only plain text mails.
Unable to sent mails in html format.
while sending mails in html format, the received mail has the html code only. (17 Replies)
How to attach a file in Linux mail command
Hi Guys,
Is there any way to attach a file in Linux mail command without using "uuencode"?
i.e.
Code:
file=/a/b/c/d/file.txtmail -s "Giga aks" abc@123.com <<HDoc`uuencode $file $file 2>/dev/null`HDoc
Here, I don;t want to use 'uuencode'... (1 Reply)
Hi All,
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 ." 'abc@xys.com'
But if I use like this, then I am unable to send... (1 Reply)
Hi
I want ot send a mail with aatach a file for this i have tried
mailx -s "COMPLETED: deal.sh" -a /usr/local/bin/test.out me@nowhere
uuencode /usr/local/bin/test.out /usr/local/bin/test.out | mailx -s "COMPLETED: deal.sh" me@nowhere
but of command is not working. so is there any... (0 Replies)
Hi
I want ot send a mail with aatach a file for this i have tried
mailx -s "COMPLETED: deal.sh" -a root/usr/local/bin/sched/nightly_Cronjob/test.out me@nowhere
uuencode /usr/local/bin/sched/nightly_Cronjob/test.out /usr/local/bin/sched/nightly_Cronjob/test.out | mailx -s "COMPLETED:... (2 Replies)
Hi,
i want color effect on mail as well as multiple attachment.I have code but this code is used for single attachment. I am unable to attach more than one file.:wall:
I want to send two attachments -ahmed.csv and ahmed1.csv .
Sample content:
<html>
<body>
<b> Hi...</b>
</body>
</html>
... (1 Reply)
Hi ,
I am facing a problem with respect to mailx command in unix . Earlier it was working fine and I am facing this issue only from last week .
I used mailx command and I am getting a error message as follows :
temporary mail file: Permission denied
If I run mailx command from... (2 Replies)