PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 30th, 2004, 07:52 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
PEAR::Mail - Undefined variable: comments

I try to send a mail using PEAR::Mail Class and get the following error:
Undefined variable: comments (c:apache2phppearMailRFC822.php: 620)
the emails are send and everything is OK, but i want to get rid off those message. I have tryed to set the "display_errors = off" in php.ini but the message is still there. What to do?
$headers['From'] = 'me@email.com';
$headers['To'] = you@email.com;
$headers['Subject'] = 'test';
$headers['Content-Type'] = 'text/html; charset=windows-1250';
$body = 'Some text.';
$params["host"] = 'smtp.email.com';
// Create the mail object using the Mail::factory method
$mail_object =& Mail::factory('smtp', $params);
$temp_a = $mail_object->send($recipients, $headers, $body);
Thanks
Jack

Reply With Quote
  #2  
Old May 21st, 2004, 12:49 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: PEAR::Mail - Undefined variable: comments

Set your error_reporting level in the php.ini file to:

error_reporting = E_ALL & ~E_NOTICE


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > PEAR::Mail - Undefined variable: comments


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway