Changeset 392
- Timestamp:
- Mar 1, 2012, 9:36:37 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/global.php
r329 r392 8 8 //include('error.php'); 9 9 include_once('code.php'); 10 include_once('Mail.php'); 10 11 include_once('module.php'); 11 12 include_once('forms.php'); … … 193 194 function GlobalInit() 194 195 { 195 global $Config, $Database, $System, $ScriptTimeStart, $ConfigFileName ;196 global $Config, $Database, $System, $ScriptTimeStart, $ConfigFileName, $Mail; 196 197 197 198 $ScriptTimeStart = GetMicrotime(); … … 207 208 $Database->ShowSQLError = $Config['Web']['ShowSQLError']; 208 209 $Database->ShowSQLQuery = $Config['Web']['ShowSQLQuery']; 210 211 $Mail = new Mail(); 209 212 210 213 $System = new System(); -
trunk/temp/mailtest.php
r292 r392 1 1 <?php 2 2 3 echo(mail('robie@centrum.cz', 'Zkouška', 'obsah zprávy')); 3 //echo(mail('robie@centrum.cz', 'Zkouška', 'obsah zprávy')); 4 5 include('../Mail.php'); 6 7 $Mail = new Mail(); 8 $Mail->To('robie@centrum.cz'); 9 $Mail->Subject('Zkušební zpráva'); 10 $Mail->From('chronos@zdechov.net'); 11 $Mail->Body('Toto je zkušební zpráva.'); 12 $Mail->Send(); 4 13 5 14 ?>
Note:
See TracChangeset
for help on using the changeset viewer.