9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,:)
I try this :
#!/bin/bash
sender="me@example.com"
recipient="you@example.com"
subject="TEST FILE"
server="0.0.0.0"
file=$(cat file.txt)
/usr/bin/sendemail -f $sender -t $recipient -u $subject -m $file
My file.txt:
BLABLALA
BLABLABLA (7 Replies)
Discussion started by: Arnaudh78
7 Replies
2. UNIX for Dummies Questions & Answers
SCO Unix OpenServer v6.
We use the script below for sending mass emails with attachments.
sendemail -f $From_user -o message-file=/u/fg4/data/EmailDefaultBody.html -u $su
bj -s $MAIL_SRVR -xu $MAIL_USER -xp $MAIL_PSWD -a $emlname.pdf -t $MAILTO
MAIL_SVR=SMPTOUT.SECURESERVER.NET
... (0 Replies)
Discussion started by: jet47
0 Replies
3. Solaris
Hi Guys,
I am trying to send email from solaris server using sendemail utility. I want to send multi content email. For example, i want to send email body with html file and a attachment of txt file. I using below code but the html not render correctly in email body.
(
echo "To:... (2 Replies)
Discussion started by: tharmendran
2 Replies
4. Ubuntu
Hello,
I installed the sendemail program for commandline/script outgoing mail. It works great. I was wondering if there is some simple program to receive mail. Something like the sendemail program...
Grtz (5 Replies)
Discussion started by: raylier
5 Replies
5. Shell Programming and Scripting
Hello,
I would like to send email message to my mail list.
I have been running linux based server and I submitted this process manually up to now.
I would like to send each individual with a shell script.
In ssh panel, I tested below command and it works smoothly.
sendEmail -t... (1 Reply)
Discussion started by: baris35
1 Replies
6. Solaris
Hello
I need your kind help for configuring email on Solaris 10 so I can send reports from the system to my management and my colleagues.
I have the IP address of the email server of my company and the port 2525. I went through many documents online with no luck.
Can any one help me... (4 Replies)
Discussion started by: samer.odeh
4 Replies
7. Shell Programming and Scripting
Hi All,
I have a file which has hundred of records with fixed number of fields. In each record there is set of 8 characters which represent the duration of that activity. I want to sum up the duration present in all the records for a report. The problem is the duration changes per record so I... (5 Replies)
Discussion started by: danish0909
5 Replies
8. Shell Programming and Scripting
I have a script that send email using sendEmail (CentOS shell)
script is:
sendEmail -vvv -u "TestCompany, Inc.: USB Added" -f user@domain.com -t To@domain.com -s ASPMX.L.GOOGLE.com -m "USB Activity" -o tls=aut
o username=user3@domain.com password=password
So far this works fine.
Now i... (5 Replies)
Discussion started by: kashif.live
5 Replies
9. Shell Programming and Scripting
Hi all,
I have a variable say var1 (output from somewhere, which I can't change)which store something like this:
echo $var1
name=fred
age=25
address="123 abc"
password=pass1234
how can I make the variable $name, $age, $address and $password contain the info?
I mean do this in a... (1 Reply)
Discussion started by: freddy1228
1 Replies