Index: includes/webform.emails.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/includes/webform.emails.inc,v
retrieving revision 1.9.2.6
diff -u -r1.9.2.6 webform.emails.inc
--- includes/webform.emails.inc	28 Jul 2010 03:54:58 -0000	1.9.2.6
+++ includes/webform.emails.inc	16 Aug 2010 16:12:33 -0000
@@ -59,6 +59,7 @@
   $form['add']['email_custom'] = array(
     '#type' => 'textfield',
     '#size' => 24,
+    '#maxlength' => 500,
   );
 
   $form['add']['email_component'] = array(
@@ -224,6 +225,7 @@
       '#type' => 'textfield',
       '#size' => 40,
       '#default_value' => (!is_numeric($email[$field]) && $email[$field] != 'default') ? $email[$field] : NULL,
+      '#maxlength' => $field == 'email' ? 500 : 255,
     );
     $options = webform_component_list($node, $field == 'from_address' || $field == 'email' ? 'email_address' : 'email_name', FALSE);
     $form[$field . '_component'] = array(
