DBG problem |
Site Admin
|
what IDE / front-end do you use ?
|
||||||||||||
|
|
PHPEdit 0.8.0.25 with DBG 2.11.23
Here is the code segment. It might have something to do with the $mime->addAttachment() function. The attached file sent is kinda large (4.6M). But I received no error messges. Thanks a lot, G <?php include('Mail.php'); include("Mail\\mime.php"); error_reporting(E_ALL); PEAR::setErrorHandling(PEAR_ERROR_PRINT); $recipients = 'dummy@somewhere.com'; $headers['From'] = 'myaddress@thisplace.com'; $headers['Subject'] = 'Test message2'; $body = 'Test message'; $params=array("host"=>"mail.someserver.com", "auth"=>TRUE,"username"=>"ffff","password"=>"kkkkkk"); // Create the mail object using the Mail::factory method $mime= new Mail_mime("\r\n"); $result=$mime->addAttachment("d:\\downloads\\PHPEditSetup0-8-0-25.zip"); if(PEAR::isError($result)) { printf($result->GetMessage()); } $result=$mime->SetTxtBody($body); $mbody = $mime->get(); $headers = $mime->headers($headers); $mail_object =& Mail::factory('smtp', $params); $result=$mail_object->send($recipients, $headers, $mbody); ?> |
||||||||||||
|
Site Admin
|
Could you try to replicate this problem with PHPED 3.3 + DBG 2.16.3 ? All stepping routines in 2.16.3 are exactly the same as they are in DBG-2.11.23 so if the problem is in DBG it will be replicated. TIA. |
||||||||||||||
|
DBG problem |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by