<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011751" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011751</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/if-whatever-was-successful#comment-1067491</link>
    <description> &lt;p&gt;Yep...that helps.&lt;/p&gt;
&lt;p&gt;Specifically for your example, I use Mail::Sendmail package, this package allows you to define the standard email parameters, recipients, content, smtp server, etc.&lt;/p&gt;
&lt;p&gt;example:&lt;br /&gt;
($success_flag)=&amp;amp;send_email($to,$from,$sub,$body);&lt;/p&gt;
&lt;p&gt;&amp;amp;send_email(){&lt;/p&gt;
&lt;p&gt;local($to_address,$from_address,$subject,$body) = @_;&lt;br /&gt;
%mail = (To=&amp;gt; $to_address,&lt;br /&gt;
         From=&amp;gt; $from_address,&lt;br /&gt;
	 Subject=&amp;gt; $subject,&lt;br /&gt;
	 Message=&amp;gt; $body);&lt;br /&gt;
$success_flag=1;&lt;br /&gt;
sendmail (%mail) or $success_flag=0;&lt;br /&gt;
return ($success_flag);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2000 18:19:05 +0000</pubDate>
 <dc:creator>tazman</dc:creator>
 <guid isPermaLink="false">comment 1067491 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/if-whatever-was-successful#comment-1067488</link>
    <description> &lt;p&gt;An example is:&lt;br /&gt;
open sendmail and send a message to the specific recipients. If all goes well then print something and if it doesnt go well, IE, there was an error or, like I have experienced, it simply does not work even though there is no error, then posts something else.&lt;/p&gt;
&lt;p&gt;I hopwe this helps&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2000 18:00:40 +0000</pubDate>
 <dc:creator>minton</dc:creator>
 <guid isPermaLink="false">comment 1067488 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/if-whatever-was-successful#comment-1067487</link>
    <description> &lt;p&gt;Please give specific example....&lt;/p&gt;
&lt;p&gt;If what you are referring to is whether a called function was successfull, then you are simply checking the return value which you can arbitrarily set during the function.  And, yes, this will work for the conditional portion of an if statement...&lt;/p&gt;
&lt;p&gt;Sorry, if this is not what you are referring to, please give more details.&lt;/p&gt;
&lt;p&gt;Tazman&lt;/p&gt;
&lt;p&gt;[Edited by tazman on 07-15-2000 at 01:57 PM]&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2000 17:53:20 +0000</pubDate>
 <dc:creator>tazman</dc:creator>
 <guid isPermaLink="false">comment 1067487 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/if-whatever-was-successful#comment-1067443</link>
    <description>  </description>
     <pubDate>Sat, 15 Jul 2000 02:31:16 +0000</pubDate>
 <dc:creator>Ken Elliott</dc:creator>
 <guid isPermaLink="false">comment 1067443 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
