man mailx says
To put a <control-d> into a file you can use an echo command, in VI do Insert and the type <control-v><control-d><esc>, in Emacs <control-q><control-d>. Oh, on the command line it is <control-v><control-d> for Bash under Gnome.
As an experiment try...
Then do the mailx command. Still getting the email as an attachment? Try the above and then a pipe.
--- Added 20100505 21:28
Hey, I just tried your mailx command and it worked fine so you do not need a <control-d> in the file. I bet your email is not getting out as panyam suggested. You can examine /var/log/maillog for failures also. I can send mail to myself on my machine but trying to leave my network I get an error about unauthorized relay, which I would expect. In order to get off your machine you need to configure your Mail Transfer Agent (MTA).
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)
Hi all !
I want to know if i can send an email with a C code...
the thing i wanna do is when my code is finished it creates a log file with all the information of the process in it...i want to know if its possible at the and of my code in C, under Unix_Solaris, to send that log file to a... (4 Replies)
Dear friends,
I want to send mail automatically like (crontab).
I have tried with mail command but it it not working.
mail -s "hello" xyz@yahoo.com.
please help. (12 Replies)
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)
Hi
We have configured the mail server in our unix box. Still while trying to send mail it goes to dead letter.
We issued the command as
mailx -s "Hello" someone@somewhere.com
Note:
Is that required to reboot the server once the send mail is configured in the server.
OS Version :... (5 Replies)
Hi i am automating my task and i got an issue.
what i want to do is when certain condition is met the email should be sent to the user.
and the user should presume that the email has comes from
like support@xyz.com
The scenario is like send email as different user (4 Replies)
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)
Hi,
I am executing the below commands, i didnt get any error and send mail not recevied by respective user. Please help
cat a.txt | mailx -s "config" xxx@abc.com (4 Replies)
Discussion started by: sugumar
4 Replies
LEARN ABOUT DEBIAN
mbot
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 Alsombot.conf(5)Authors
mbot was writen by Dimitri Fontaine dim@tuxfamily.org and Christophe Truffier nah-ko@tuxfamily.org.
mbot(1)