Home

User Manual for iAH – apendix – sending results by mail

image

Contents

1. Loughe referencia gt Cue ratarata iT un re ae ae Tadas bs relerencias eras P n Rango eie referencias nec a Eim py rin ele np cis Referencias seleccionadas t E Sphere ummy cree geo d s Opinar Aa aa J eriiar para impresi n Tam da ea She pid hga i erwiar para su computadara en el omn ba HTML mug amd el he ae wa ere pu nti e LS S Option for sending results when SEND RESULT BY MAIL ON a new option appears Resultado enviado para spinaker amp iadinet com uy Resulladir andadi para aginadergpadimstenm uy Ygher L Beiara Page to confirm sending the results The user indicated in the option send by email will receive in his her mailbox a message of the form below Note that by default the heading contains the name of BIREME but this can be changed as we will see later Versi n 2 x BVS Version 3 x ABCD bravium m rmm Saa Tig remm Lc mie IG m i eee Pee eee Herer E Ie min Ug Roger inm in CE eter ee tee re Aer ee remi dA esae cop che aie vie ini ree Ces a Sos br afr gm RSS io eee i Rahal a mur 4 Amada f Tau Oe reece L iH Barhi Lara Inda aL arpcpurcp ir cya E eae kia SEI NI ll ki ce a L Lee eS nons ee 1 ORG SOLE Le do XS Crap B E PLUS Ache Ahi ee Beek He foe EF Fab plan s pie AFTI TE Lita Parad Aare tab gen LAL Pape direc facet Lon aial Faaa de Haie de Td av atte i ea Con eel Pes sr dori inertia boo y fee ee Shee ee ee
2. HKEY LOCAL MACHINE SOFTWARE PUBLIC DOMAIN BLAT It is always to possible to change the values by running the installation instruction again Observe that it is possible to use as email server any server where you are registered with an account for example a Gmail or Hotmail account The file sendmail conf which comes with version 3 x carries the following line EXECUTE blat lt file gt subject Results to lt mailto gt q html However it is possible to insert a more ambitious command line see the Blat manual EXECUTE blat lt file gt subject Search Results to lt mailto gt sender mylibrary something com from mylibrary something com embed some gif embed some jpg html q log log txt Note all the parameters should be written in the same line they are separated here only for clarity p 5 SMTP in the Linux environment The Linux operating system can make use of programs for sending mail by SMTP generically called MTA Any distribution probably includes an MTA or if not it is possible to install one This manual does not explain how to install a MTA but it explains how to prepare the script that iAH needs to send the results It is assumed that the MTA is included in the PATH and has the necessary permission for execution The file sendmail conf referred to above in the distribution of iAH for Linux contains the following line by default EXECUTE home user iah cgi bin email sh mailto file In the c
3. and in the case of Linux it assumes that a version of MTA is installed from the RedHat family SE db dt Example Windows EXECUTE blat file subject Results to Example Linux EXECUTE home user iah cgi bin email sh Notes o The SMTP application for sending email does not form part of the IAH package it must be installed previously o The data between lt gt are appropriate to IAH but may use additional parameters which are the responsibility of the administrator In the following sections examples are given for configuration of an SMTP application for Windows and three different MTAs of Linux o Redhat Linux using sendmail o Any Linux using qmail o Any Linux using sendEmail Note sendEmail is not an MTA but a program like Blat for Windows however Linux uses any MTA s Simple Mail Transfer Protocol SMTP is a network Protocol based on scripts used in the exchange of electronic mail between computers or other devices PDA s mobile phones etc SMTP is based on the client server model where a client sends a message to one or several receivers The communication between the client and the server consists entirely of lines of text composed of ASCII characters 3 Blat is a Public Domain Windows console utility that sends the contents of a file in an e mail message using the SMTP protocol Blat is useful for creating scripts where mail has to be sent automatically CGI backups etc or just as a quick way to sen
4. echo Content type text html gt gt S TEMP FILE cat 2 gt gt STEMP FILE rm STEMP FILE Acknowledgement We have to thank Ing Diego Muses IT expert for help and cooperation in resolving this problem and Dr Andrew Buxton UK for the English translation p
5. User Manual for iAH apendix sending results by mail Ernesto Spinak v 1 0 November 2011 Introduction The default interface for consulting ISIS databases both in ABCD and in BVS is the application iAH from BIREME which uses the software wxis exe and the language IsisScript This document amplifies the information on the option SEND RESULT BY EMAIL which is introduced in the Preferences Section of the official manual published by BIREME The explanations apply without distinction to the versions 2 x and 3 x of iAH Each database accessible through the interface iAH should have a parameter file called lt name_base gt def If the version of iAH in use is 2 x then this file will be located in the directory htdocs iah but if the version is 3 x as with ABCD then it is located in www bases par In the last line of the file name base gt def in the Preferences section there appears an option that allows you to turn on or off this functionality Usually the option is deactivated so users have not been alerted to the function or known how to implement it PREFERENCES AVAILABLE FORMS F A NAVIGATION BAR ON DOCUMENTS PER PAGE 20 FEATURES XML The explanation in the manual has not proved clear enough for non expert users therefore we are explaining in more detail how to implement this service Preliminary considerations Firstly we come to the difference between using this service or not in the figures which follow showi
6. d a file or message from the command line Mail Transport Agent also Message Transport Agent is one of the programs that drive mail servers and transfers a set of data from one computer to another p 4 SMTP in the Windows environment The Windows operating system does not include by default a native program for sending mail so we need to install an external application Blat http www blat net is a client email program proxy style in the very efficient FOSS distribution simple to install and use The package comes with a complete manual with all the parameters which can be used o Download from the site the latest version available Blat v2 7 5 build Aug 16 2011 and decompress to the three files blat dl11 blat exe blat lib Copy these files into c windows system32 Install the program blat The installation of the program is done only from the MS DOS command line and allows you to specify seven parameters of which only four are obligatory The syntax of the installation is blat install server addr gt sender s addr gt lt try gt lt port gt lt profile gt q Example values invented blat install 192 999 1 3 RobodyGxs org uy espinak gam The three dashes signify that the three optional parameters are blank The last two parameters are the name of the acount user and his her password These parameters remain registered and encrypted in the Registry of the Server where iAH in installed in the key
7. eee es a BS Lik J m EACH Asaa WH 1 51 pe Ds WAM v7 1 E F T i iri EBTSEP TRISTIS ei scr Tnm yocdalcan hm Ea fees gs Cece duda ud trench gem Mic feed Cg LTE ee Be de dimi i Lo aiis ded Led p 2 Personalization of the email message To change the heading of the results message it is necessary to modify the file ahlist pft which is found in o V 3 X J www htdocs iah scripts lang ahlist pft o V 2 X lt root gt cgi bin iah lt lang gt ahlist pft script to change in v 2 x if v6212 print then onLoad Javascript void showPrintDialog fi center lt font face verdana size 1 gt VHL Virtual Health Library lt font gt lt hr width 600 align center gt script to change in v 3 x if v6212 print then lt body style background FFFFFF important onLoad Javascript void showPrintDialog gt else body style background FFFFFF important gt fi lt div id contentList gt lt div class contain gt lt div class copyright gt lt hr class ruler gt lt div gt Message that is received by the user with the heading modified according to the library Version 2 x BVS Version 3 x ABCD ie ml E oe mom E L lur ipua Four dey ier i Autor HIM th Fzar m Congr PFat zrinasir Ll Crib peer CLANA i H Solicior por El koro aub an proceso Memnmpzs GAENE EN BOORIREAISGORH Cormac miarzariosal ape It is possible to use different head
8. ings depending on the database from which the results are derived To do this modify the file ahlist pft with instructions similar to lt font face verdana size 1 gt lt font gt p 3 Installation of the program for sending mail with different operating systems The application iAH itself does not send results by email but generates an output which is interpreted by an external file called sendmail conf that in turn directs to an SMTP program already installed and dependent on the operating system The file sendmail conf passes two values or parameters to the program for sending email SMTP which is actioned by the instruction EXECUTE appropriate to the specific program which is operative on that installation These values are mailto and file The file sendmail conf is found in htdocs iah sendmail conf in all the versions of iAH sendmail conf file default Put the command line for e mail sending through your server SMTP Use the literals mailto and file to specify where these fields will be inserted in the command by IAH Also specify the complete path for the mailer in case this is not configured in path of the server gt gt lt file gt According to the version installed Windows or Linux the file sendmail conf indicates one of the two lines that begin with the instruction EXECUTE In the case of the Windows version it uses the minimum necessary parameters for the program blat
9. ng the sequence of operations necessary to send the result of a search in the two versions of IAH Versi n 2 x BVS Versi n 3 x ABCD mre a a Bowe oe ir apa mmis pedal nyora acre radu 35845 pora 1 1 md berets poeple Fiaba JE gi mme Deua Shp s eee Foe jdm b o haier Tiii Fimo pa Congreso TIS hit TAS Agipr Jarr pnia Peres ds Born Ae Asa rie Aide r Prroni pribi odd l Parie Gunes Ar Anan ie Peco da Gi Fou Coh geogr Bite CITE EN laces RE ima Corinne Apei pr Soden nmn Tead adapovm y eric del Hetirade Latieo 280 inepstasc 77002 ng et Bit ee Dreax EE D 13 15 Search results if the checkbox send results is selected v 3 x http bvsmodelo bvsalud org download abcd manuais ABCD IAH 3 1 0_en OfficialVersion pdf v 2 x http ovsmodelo bvsalud org download iah IAH ManualUsuario en pdf p 1 Versi n 2 x BVS Version 3 x ABCD dDahiki rnia Tadas las referencias 3855 Range de referencias de a Referencias seleccionadas 1 Indem s rere ime Flees h mum ds fale gs wigcr miam i11 Cpannas de erri perrap Eu arris grular para impression Fran uci numm am P cm passa bore Lele dA A uni E Erwiar para su compitadora en el farnato HTML i Miaria Option for sending results permits sending to the printer or exporting the file in HTML or ISO 2709 format However when SEND RESULT BY MAIL OFF the e mail option does not appear
10. ommand we see that there are two parameters which are passed to a script sh which is in the folder cgi bin indicated with the absolute path The script is called email sh and is the file which must be configured for the version of MTA operating in the Linux system Below are given three examples of the email sh file o Sendmail typical of Redhat versions of Linux email sh export TEMP FILE var tmp echo From salerta odon edu uy gt TEMP FILE echo To 1 gt gt TEMP FILE echo Subject Resultados gt gt S TEMP FILE echo Mime Version 1 0 gt gt STEMP FILE echo Content type text html gt gt TEMP FILE cat 2 gt gt STEMP FILE echo lt body gt gt gt TEMP FILE echo lt html gt gt gt STEMP FILE rm STEMP FILE o sendEmail any version of Linux Requires the use of the program sendEmail http caspian dotconf net menu Software SendEmail Download the application and copy into usr local bin email sh export TEMP FILE var tmp QQQ cat TEMP FILE sendEmail f bvsbcu bvrie gub uy t 1 u Results rm STEMP FILE exit 0 Note the line marked in yellow in this example is needed for a bug in iAH which should be corrected p 6 o Qmail email sh export TEMP FILE var tmp echo From apubiblioteca gmail com gt TEMP FILE echo To 1 gt gt TEMP FILE echo Subject Resultado consultas gt gt TEMP FILE echo Mime Version 1 0 gt gt S TEMP FILE

Download Pdf Manuals

image

Related Search

Related Contents

MODE D`EMPLOI - Chien de France - Chiens-de    Notice - Castorama  Škoda Superb (3T) Rukojeť řadicí páky kožená - ŠKODA E-shop  High performance headphone amp User manual ALHANZZ  小型オイルドレーナー 持てるくん取扱説明書  Preva-Dentalröntgenanlage  EBDSPIR-AT-DD User Guide  

Copyright © All rights reserved.
Failed to retrieve file