01-29-2008
use the system command.
system("command")
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 Replies
2. UNIX for Dummies Questions & Answers
Using Mailx command i.e
mailx -s "subject" chinni@hotmail.com < \tmp\chin
this command executed sucessfully but not able to receive the mail in chinni@hotmail.com
please help. (1 Reply)
Discussion started by: chinnigd
1 Replies
3. UNIX for Dummies Questions & Answers
HP-UX B11.23 ia64
I have a users mail inbox in /var/mail
I want to send all the mail there to another address (an Exchange address).
At the Exchange address, I want it to appear as the original separate emails, with attachments in their original form (e.g. still MIME encoded).
Is that... (6 Replies)
Discussion started by: LisaS
6 Replies
4. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
5. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
6. Shell Programming and Scripting
I have a file which contains few email address. I have few scripts which use the same mail address. so if any change in mail id like if any user do not want to receive the mail i can just edit a single file instead of many scripts. So i want the scripts to use that file. How can this be done. (2 Replies)
Discussion started by: gpk_newbie
2 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies
8. Shell Programming and Scripting
Hello,
I am using centos-6.2
I have apache server,php5 on my system and I want to send mail using sendmail on my system.
when I try to send mail from shell that time mail is succesfully sent to respective address()
but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies
9. Red Hat
Hi,
I am trying to send a mail using "mail" command in unix. I wanted to give sender name and sender address. I tried different options ,but still it shows only mail address(No name).
mail -s "Alert mail : Nothing running !!!" $email -- -F"Mail Alert" -fno-reply@alert.com
But I am getting... (4 Replies)
Discussion started by: jaggy
4 Replies
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
mbot(1) General Commands Manual mbot(1)
NAME
mbot -- Mail handling robot
SYNOPSIS
mbot [-h] [-c configuration file]
Description
mbot is a generic purpose mail robot, written in python. The first goal while writting this piece of software was to provide some kind of
web access (http) to people limited on mail (smtp).
So mbot will receive some mail and make some action for you, then send you back a reply mail. The actions mbot will take are to be defined
in its configuration file (see mbot.conf(5)) and depends on the available handlers :
GoogleHandler
Used to perform some search with the well known search engine
UrlHandler
This one allows to download some url and attach its content to the return mail, with the mime type properly set.
NewsHandler
You can also send some news (with images) to mbot, it will fill your database with it. Currently supported RDBMs are PostgreSQL
and MySQL, so you will have to choose between PgNewsHandler and MyNewsHandler.
PipeHandler
This one will make mbot call an arbitrary given command!
Options
-h will print the help page.
-c specifies the configuration file to use. If omitted mbot will look for it in his own directory.
Install
To install that mail bot, just add a line in your mail alias file, often found under /etc/aliases.
If you use the exim MTA, be sure to add the option pipe_as_creator to your configuration, in the address_pipe section.
Bugs
There should be none... :)
See Also
mbot.conf(5)
Authors
mbot was writen by Dimitri Fontaine dim@tuxfamily.org and Christophe Truffier nah-ko@tuxfamily.org.
mbot(1)