SimpleMail class problems
hi
i have reached the chapter 11 the book and created all the files for the reusable code. but when i preview it in the browser i get these messages:
Warning: mail() [function.mail]: Failed to connect to mailserver at "mail.bezeqint.net" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program_files\wamp\www\CB\class.SimpleMail.php on line 61
Fatal error: Uncaught exception 'Exception' with message 'Sending mail failed.' in C:\Program_files\wamp\www\CB\class.SimpleMail.php: 62 Stack trace: #0 C:\Program_files\wamp\www\CB\mail_multipart.php(16 ): SimpleMail->send() #1 {main} thrown in C:\Program_files\wamp\www\CB\class.SimpleMail.php on line 62
since i have some knoledge of php i`m not doing every chapter in the book.
what am i doing wrong so the simplemail will work?
best regards
derrida
|