Sponsored Content
Top Forums Shell Programming and Scripting Represent the data in table format as in mail content Post 302780845 by PikK45 on Friday 15th of March 2013 07:20:12 AM
Old 03-15-2013
@franzpizzo: thanks. But the problem is there is no sendmail in my system.

I am not allowed to install any new utilities as well


NEW THREAD: https://www.unix.com/shell-programmin...#post302780843
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Arrange Data in table and send by mail

Everybody, can you tell me how express about this; we have text data file as : parameter1 Parameter2 AA 55 BB 77 . . . . . . We want to draw table for this data as attached then send as body of Email (4 Replies)
Discussion started by: xjklop2009
4 Replies

2. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

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

3. Shell Programming and Scripting

sending mail using Mailx with data from oracle table

Hi, i need to send emails to the mail ids i receive using the sql query . SELECT L.ALARM_DEF,L.CRITERIA,L.DISTANCE_METRE,L.EMAIL,L.LAC_ID,L.LAST_CHECK,L.RANGE, L.RESOURCE_MSISDN,LM.ADDRESS,LM.NAME FROM LANDMARK_ALARM_CONF l, LANDMARK lm WHERE L.LANDMARK_ID=LM.LANDMARK_ID AND... (0 Replies)
Discussion started by: aemunathan
0 Replies

4. Shell Programming and Scripting

Perl Script for reading table format data from file.

Hi, i need a perl script which reads the file, content is given below. and output in new file. TARGET DRIVE IO1 IO2 IO3 IO4 IO5 ------------ --------- --------- --------- --------- --------- 0a.1.8 266 236 ... (3 Replies)
Discussion started by: asak
3 Replies

5. Shell Programming and Scripting

Help with perl script to output data in table format...

Hello, I need help with a perl script that will process a text file and match virtual server name to profile(s). the rest will be ignored. Virtual server name follows the word "virtual" in the begging of the line. There could be multiple profiles assigned to one virtual server. For example, ... (3 Replies)
Discussion started by: besogon
3 Replies

6. Shell Programming and Scripting

Need to represent a number in 99999999 format(8 digits)

Hi all, i have to create a file having an 8-digit sequence number, that will start by name file_00000001.cvs at first time, the next day the file will be named file_00000002.cvs and so on. How can i do this in my script please, specially that i will need a counter that increments this number... (10 Replies)
Discussion started by: Eman_in_forum
10 Replies

7. Programming

C Data Structure to represent a Sparse Array

Which data structure will be most appropriate to represent a sparse array? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

8. Shell Programming and Scripting

Mailx command - send mail as table format

I have to send a couple of rows that have been returned from a SQL query. I have written the output of the query to a file and while i try to print this in the mail body the formatting goes wrong. Intended Output in mail body: Col1 Col2 Col3 ------ ... (2 Replies)
Discussion started by: qwertyu
2 Replies

9. Shell Programming and Scripting

Take Data From a table and send it through mail

Hi can anyone help me in writing a code for taking data from a table and need to send that data through mail using mail -x command.. (3 Replies)
Discussion started by: ginrkf
3 Replies

10. Shell Programming and Scripting

Common Issue: Table to be displayed in mail content and not as an attachment

The requirement is to send a report from an UNIX server. I have a list of data to be shown on the report, say from database. I am using sendexchange to send mail and it always send in plain text fromat and the data displayed are not aligned properly. I have seperated all the columns with fixed... (14 Replies)
Discussion started by: PikK45
14 Replies
mbot.conf(5)							File Formats Manual						      mbot.conf(5)

NAME
mbot.conf -- mbot configuration file SYNOPSIS
mbot.conf Description mbot.conf is organized in sections where you can associate handlers to mails. When mbot receive a mail, it will search for a section having a name which match the mail subject, then use the associated handler. So the name of the section will depend on the subject to use, and the parameters to be defined in this section will depend on the selected han- dler. Here is a list of 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! Default and common options For each section we have a common option who's: HANDLER This option define for the current section which Handler will be used. WHITE_LIST Here we define which are the e-mail addresses allowed to use associated Handler. Only e-mails are stored here, like this: name@domain.tld. If no BLACKLIST is defined then the sender MUST be in this list otherwise mail will be rejected BLACK_LIST This list contains blocked emails. If sender is in this list, mbot won't be allowed to handle the request. If BLACK_LIST exists but not WHITE_LIST then every sender who's not in this list will be allowed to use this Handler. The format of the list is: ["email@domain.tld", "email2@anotherdom.tld"]. It's the same as WHITE_LIST. Default options: MBOT_ADDRESS Email address used in the response. LOG_LEVEL Here we tell the Logger which level we want to log to syslog. Those levels are, from lower to higher, emerg - alert - crit - err - warning - notice - info - debug. Handler's options GoogleHandler's options: HOST This is the first for this Handler, it define the host for the searching engine. BASE_URL Define here the string that is usually used by the searching engine. UrlHandler's options: MAILSIZE This option define the maximum mail size while mbot fetch url, sender will receive error message if mail size exceed this value. ATTSIZE For each attachement we define a size behind which mbot will raise an error. NewsHandler's options: HOST This is the FQDN for the database server. DB The name of the database. DB_USER Username to add entry into database. NEWS_TBL Name of the table used by the Handler. NEWS_TBLSQ Name of the sequence table used by the Handler. Usually used with Postgres server's. ATTACH_PATH Used if sender attach an image with his mail, in this directory mbot will resize image to store it as normal and thumb- nail size into database. tnX and tnY These are the options for thumbnail resizing. SITE This is a list in which mbot will select the site according to the receiver email. It will be used to feed the data- base. PHOTO_TBL This option is optionnal, it will be used only if you want to have pictures associated to news. PHOTO_TBLSQ Name of the sequence table used by the Handler for the photo table. Usually used with Postgres server's. Note that there is no option for PipeHandler. Bugs Please report bugs to the authors. See Also mbot(1) Authors mbot was writen by Dimitri Fontaine dim@tuxfamily.org and Christophe Truffier nah-ko@tuxfamily.org. mbot.conf(5)
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy