|
||||||
|
| |
PHPMAILER is a php small suite based on php-objects [CLASS] Although if by downloading this suite from the author source you might get frightened by the zip content, the output that you see on this page, is based on about 30 lines of php code in this file, by using the content of that suite. Syntax for php-class could seem a little confusing and to startup with this, I've set on website a couple of pages for our Members, in order to give a basic knowledge on how to interact with features based on PHP-CLASSES A php-object is defined by a special model called class An object has properties and methods. A property can be a variable or an array or another object. A method is a function defined internally in a class. All we need to change in the normal php-syntax is on howto refer to these objects For retrieving a variable we just can set : $_var=$mail->VAR; ...gets $VAR To call a function ...for example $_send=$mail->Send(); gets : Send() from the inside of a php class
| |