Changeset 396 for trunk/temp/mailtest.php
- Timestamp:
- Mar 3, 2012, 9:12:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/temp/mailtest.php
r395 r396 6 6 7 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.', 'utf-8'); 12 $Mail->AlternateBody('<strong>Toto</strong> je zkušební zpráva.', 'utf-8'); 13 $Mail->Attach('sugar.php', 'text/plain'); 8 $Mail->AddTo('robie@centrum.cz', 'Chronos ěščřžýáíé'); 9 $Mail->From = 'Sender ěščřžýáíé <noreply@nodomain>'; 10 $Mail->Subject = 'Test message ěščřžýáíé'; 11 $Mail->AddBody('This is sample message sent by PHP Mail class ěščřžýáíé'); 12 $Mail->AddBody('This is sample <strong>HTML</strong> message sent by <i>PHP Mail class</i> ěščřžýáíé', 'text/html'); 13 $Mail->AttachFile('mailtest.php', 'text/plain'); 14 $Mail->AttachData('DataFile.txt', 'text/plain', 'Sample text ěščřžýáíé'); 14 15 $Mail->Send(); 15 16
Note:
See TracChangeset
for help on using the changeset viewer.