Email Validation issue:

Issue #659 new
Nosajimiki created an issue

If I do not put a valid email address into the email address input field, I get the following error:

Fatal error: Uncaught exception 'phpmailerException' with message 'Invalid address: devcncllc.com' in /home/tesadmin/public_html/wp-includes/class-phpmailer.php:946 Stack trace: #0 /home/tesadmin/public_html/wp-includes/pluggable.php(352): PHPMailer->setFrom('devcncllc.com', 'Jason Guy', false) #1 /home/tesadmin/public_html/wp-content/plugins/job-manager/frontend-application.php(976): wp_mail('dev@cncllc.com', 'Job Application...', 'Application Lin...', 'From: "Jason Gu...') #2 /home/tesadmin/public_html/wp-content/plugins/job-manager/frontend-application.php(644): jobman_email_application(440) #3 /home/tesadmin/public_html/wp-content/plugins/job-manager/frontend-application.php(30): jobman_store_application(183, NULL) #4 /home/tesadmin/public_html/wp-content/plugins/job-manager/frontend.php(245): jobman_display_apply(183) #5 [internal function]: jobman_display_jobs(Array) #6 /home/tesadmin/public_html/wp-includes/class-wp-hook.php(300): call_user_func_array('jobman_display_...', Array) #7 /home/tesadmin/public_html/wp-in in /home/tesadmin/public_html/wp-includes/class-phpmailer.php on line 946

Please change the input form validation function to include a proper error or warning message for improper email formats.

See http://tesconsult.com/jobs/apply/183 for example.

Comments (0)

  1. Log in to comment