7 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. Shell Programming and Scripting
Hi everyone,
I try to send an email with "sendemail", I created four variables for do cleaner but it doesn't work :( below :
#!/bin/bash
sender=$(X@x.com)
recipient=$(x@x.com)
subject=$(Files Copy)
server=$(x.x.x.x)
/usr/bin/sendemail -f $sender -t $recipient -u $subject -m blablabla... (2 Replies)
Discussion started by: Arnaudh78
2 Replies
3. 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
4. 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
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
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