<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Hi Ernesto,<BR>
<BR>
I did the changes, but I do not have a file named 'email.sh' on my system in the /opt/ABCD/www/cgi-bin directory.<BR>
Could you send us that file please.<BR>
<BR>
When sending a search result, it says it was sent, but it never arrives.<BR>
Renate<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="4">Dear colleagues</FONT><BR>
    <BR>
    there is a bug in the file <B>/htdocs/iah/scripts/iah.xis</B>  that affects the function of sending a result from the OPAC iah via email<BR>
    this feature worked well until version 2.6, but in version 3.1.x for ABCD has a problem<BR>
    For some reason it does not solve correctly the environment variable PATH_TRANSLATED<BR>
    The simplest solution is to modify the file iah.xis from line 360 (aprox.) as follows;<BR>
    The example is for Linux environment<BR>
    <BR>
    
<HR ALIGN="center">
<BR>
    <BR>
       <FONT SIZE="4"> <label>SEND</label></FONT><BR>
    <FONT SIZE="4">        <file action="close" type="output"><pft>v6214</pft></file></FONT><BR>
    <FONT SIZE="4">        <field action="replace" tag="6213"><pft>replace(v6213,'@<A HREF="http://bireme.br">bireme.br</A>','@<A HREF="http://brm.bireme.br">brm.bireme.br</A>')</pft></field></FONT><BR>
    <BR>
    <FONT SIZE="4"><!--     </FONT><FONT SIZE="4"><FONT COLOR="#cc0000">   </FONT></FONT><BR>
    <FONT SIZE="4"><FONT COLOR="#cc0000"><</FONT></FONT><FONT COLOR="#cc0000"><B><FONT SIZE="4">field action="replace" tag="9" split="occ"><pft>cat(getenv('PATH_TRANSLATED'),'sendmail.conf')</pft></field></FONT></B></FONT><BR>
    <B><FONT SIZE="4"><FONT COLOR="#cc0000"><field action="replace" tag="9"><pft>(if left(v9,instr(v9,'=')-1) : 'EXECUTE' then mid(v9,instr(v9,'=')+1,size(v9)) fi/)</pft></field></FONT></FONT></B><BR>
    <FONT SIZE="4">--></FONT><BR>
    <B><FONT SIZE="4"><FONT COLOR="#000099">        <field action="replace" tag="9"><pft>'/</FONT></FONT></B><B><FONT SIZE="4"><FONT COLOR="#33cc00">myserver/abcd/cgi-bin/email.sh</FONT></FONT></B><B><FONT SIZE="4"><FONT COLOR="#000099"> <mailto> <file> '</pft></field></FONT></FONT></B><BR>
    <B><FONT SIZE="4"><FONT COLOR="#000099">        <field action="replace" tag="9"><pft>replace(replace(v9,'<mailto>',v6213),'<file>',v6214)</pft></field></FONT></FONT></B><BR>
    <B><FONT SIZE="4"><FONT COLOR="#000099">        <display><pft>system(v9)</pft></display></FONT></FONT></B><BR>
    <FONT SIZE="4">...</FONT><BR>
    
<HR ALIGN="center">
<BR>
    <BR>
    Comment out (or cancel) lines in red and add blue lines<BR>
    pay attention that green line shoud be the absolute address on your server where is the script <B>email.sh</B><BR>
    <BR>
    regards<BR>
    Ernesto Spinak<BR>
    <BR>
    <BR>
<PRE>
-- 
  .^.                                .^.
  ( )                                ( )
  ===                                ===
 =[=]================================[=]=
  | |  Ernesto Spinak                | |
  | |  <A HREF="mailto:spinaker@adinet.com.uy">spinaker@adinet.com.uy</A>        | |
  | |  Montevideo, Uruguay           | |
  | |  tel/fax  (598) 2622-3352      | |
  | |  celular  (598) 99612238      | |
 =[=]================================[=]=
  ===                                ===
  ( )                                ( )
   V                                  V 
_______________________________________________
isis-users mailing list
<A HREF="mailto:isis-users@iccisis.org">isis-users@iccisis.org</A>
To manage your own subscription options go to: <A HREF="http://lists.iccisis.org/listinfo/isis-users">http://lists.iccisis.org/listinfo/isis-users</A>
Or contact Henk Rutten: <A HREF="mailto:hlrutten@xs4all.nl">hlrutten@xs4all.nl</A>
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
</BODY>
</HTML>