hi,
Im trying to send a e-mail to two people e.g X & Y . I run a shell script that uses the mail command to send an email to both these people . The email that i am sending contains two attatchments that i 'add' to a .mail file.
mail <recipients> < filename.mail
The problem that im... (1 Reply)
I am trying to send email using the "mail" command. I keep getting an "exec failed. errno=2." message.
Here is one the commands I have tried:
mail test@mycompany.com < test1.out
Any ideas what may be causing this error msg? (1 Reply)
1)My main script Calls a function IsDomain to check whether the domain is valid or not
PROD>/appl/retek/mpscripts/cat mg3TRn01
#!/bin/ksh
#
# Standard Header Files
#
#
. ${0%${0##*/}}UKMPFunctionLibrary.test
#
# START
#
ScriptStart
#
# Check that domain exists.Print &... (0 Replies)
Hi,
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)
Hi,
My question is that is there any substitute command for mail in ubuntu because I'm trying to run it and it is showing error: command not found!!
Will it need to download any specific package? If so please tell me how can I download that pkg.
Thanks in advance. (1 Reply)
Hi all ,
I wanted to know how does a 'mail' command works in unix. Does it use an smtp server internally ?
How and where it is configured then ? I am trying to google out the same , but not getting much help.
Any suggestions with be of great help.
- Andy (5 Replies)
I recently generated myself the following error when attempting to use the Unix mail command:
The flags you gave make no sense since you're not sending mail.
There is a recent thread about this issue here in unix.com (with a title very much like this thread's title), but it was closed... (2 Replies)
Hi All,
Is it possible to email a file from another directory in Unix shell prompt? In other words, do we have to be in the directory where the file is located to mail the file?
I was in the Mail directory and my file (filename) is in the Practice directory. I tried this and it didn't work:... (7 Replies)
I am using HP-UX server. I tried to send the email with attachment, I used the below unix command to send with attachment but it doent work.
uuencode pepsitoday.csv | mailx -s "csv file" ramkumar15@pepsi.com
---------- Post updated at 02:10 AM ---------- Previous update was at... (2 Replies)
Hello,
I have compiled a perl script to extract email address from an email file and tried to send email as bash script but " signs are ommitted by the bash script. What am I doing wrong? I would appreciate if you could fix it.
#!/bin/bash
while read -r COL1
do
echo "mail -s "This is a... (3 Replies)