PHP Classes

File: EMailRobot/test/script.php

Recommend this page to a friend!
  Classes of Ilya Nemihin  >  EMailRobot  >  EMailRobot/test/script.php  >  Download  
File: EMailRobot/test/script.php
Role: Application script
Content type: text/plain
Description: main start-working script
Class: EMailRobot
E-mail robot, takes letters, parse and forms answe
Author: By
Last change: fix sintax error
Date: 19 years ago
Size: 422 bytes


Class file image Download

// in 'aliases' file must by line (for example):
// robot: "| /path_to_script/script.php"
// if e-mail address for robot:
// read:
// man aliases
// man newaliases

include "../include/EMailRobot/EMailRobot.php";

$stdin = file( "php://stdin" );
$m = implode( "", $stdin );

$e_robot = new EMailRobot();

$e_robot->setEMailData( $m );


For more information send a message to info at phpclasses dot org.