Forums / General Questions / "Contact form customer info" Emails are Always Blank!

"Contact form customer info" Emails are Always Blank!

Started by blackorchidcouture on 8 Apr 2015, 5:49 PM · Views: 2,008

Results 1 to 8 of 8
8 Apr 2015, 5:49 PM
#1
blackorchidcouture avatar

blackorchidcouture

Zen Follower

Join Date:
Apr 2010
Location:
Albuquerque, NM
Posts:
198
Plugin Contributions:
0

"Contact form customer info" Emails are Always Blank!

So there are two kinds of emails I get from customers, one is when they fill out the Contact Us form, and I get an email with the subject "Website Inquiry from Black Orchid Couture", and it comes through correctly, has their name, email address and question.

Then there are these emails I get where the subject line says "Contact form customer info", and the emails are always blank, absolutely nothing in the body. I'm not even sure how/where these emails are generated, since it's not through the Contact Us form.

I'm used the web developers tool kit to look for these words, and it comes up with nothing.

Does anyone know where on my site these emails are generated, and why they are always blank? Thanks for any info!

8 Apr 2015, 9:29 PM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: "Contact form customer info" Emails are Always Blank!

what are the chances you have a module installed somewhere that sends out emails... and are you certain they are coming from your zen cart? anything else on your server? coming from what email address?

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

10 Apr 2015, 5:23 PM
#3
blackorchidcouture avatar

blackorchidcouture

Zen Follower

Join Date:
Apr 2010
Location:
Albuquerque, NM
Posts:
198
Plugin Contributions:
0

Re: "Contact form customer info" Emails are Always Blank!

Thanks for your reply! I also got your test email and emailed back :)

I also realized these other emails I get with the "Contact form customer info" in the subject aren't completely blank, they say "Results from form:", and then are blank.

I always assumed these are standard Zen Cart emails, but it sounds like maybe not? As for coming from another website, I don't use that email address anywhere else, as it's connected to my store. Also, the from and to email addresses both have my email address because the are being sent as copies from my store, but all my emails appear to come from me because they are copies sent from Zen Cart as well.

So I guess these aren't standard emails from Zen Cart? I'm doing a fresh install of v154 with a new responsive template, and so maybe none of this stuff will be carried over. I'll see! Thanks!

10 Apr 2015, 7:38 PM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: "Contact form customer info" Emails are Always Blank!

Sounds like a separate form sending you emails... any previous servers or websites in your past you may have used a php form on? Or someone added your email address to one?

You're right 1.54 on a clean server/install should ensure it's not you ;)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

11 Apr 2015, 1:52 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "Contact form customer info" Emails are Always Blank!

If you go to your Zen Cart Admin and to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
Contact form customer info

and select Catalog/Admin and click the search ... does anything come up to show what file(s) contain that line of text?

If so, and it is a DEFINE and you search for the DEFINE, example:

define('EMAIL_SUBJECT', 'Website Inquiry from ' . STORE_NAME);

and you were to then search for:
EMAIL_SUBJECT

does anything come up?

If so, could you post it?

NOTE: if anything comes up with your_secret_admin_dir in the file path, be sure to mask it so no one knows what that is ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Apr 2015, 5:40 PM
#6
blackorchidcouture avatar

blackorchidcouture

Zen Follower

Join Date:
Apr 2010
Location:
Albuquerque, NM
Posts:
198
Plugin Contributions:
0

Re: "Contact form customer info" Emails are Always Blank!

Nothing came up for the Contact form customer info, but tons came up for EMAIL_SUBJECT:

/public_html/store/ADMIN/includes/functions/admin_access.php

Line #110 : zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_USER_DELETED, sprintf(TEXT_EMAIL_MESSAGE_ADMIN_USER_DELETED, $delname, $admname), STORE_NAME, EMAIL_FROM, array(), 'admin_settings_changed'); 

Line #174 : zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_USER_ADDED, sprintf(TEXT_EMAIL_MESSAGE_ADMIN_USER_ADDED, $newname, $admname), STORE_NAME, EMAIL_FROM, array(), 'admin_settings_changed'); 

Line #231 : if ($alertText != '') zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_USER_CHANGED, $alertText, STORE_NAME, EMAIL_FROM, array('EMAIL_MESSAGE_HTML' => $alertText, 'EMAIL_SPAM_DISCLAIMER'=>' ', 'EMAIL_DISCLAIMER' => ' '), 'admin_settings_changed'); 

Line #232 : if ($alertText != '') zen_mail($oldData['admin_email'], $oldData['admin_email'], TEXT_EMAIL_SUBJECT_ADMIN_USER_CHANGED, $alertText, STORE_NAME, EMAIL_FROM, array('EMAIL_MESSAGE_HTML' => $alertText, 'EMAIL_SPAM_DISCLAIMER'=>' ', 'EMAIL_DISCLAIMER' => ' '), 'admin_settings_changed'); 

Line #358 : zen_mail($result['admin_name'], $result['admin_email'], TEXT_EMAIL_SUBJECT_LOGIN_FAILURES, sprintf(TEXT_EMAIL_MULTIPLE_LOGIN_FAILURES, $_SERVER['REMOTE_ADDR']), STORE_NAME, EMAIL_FROM, $html_msg, 'no_archive'); 
 
/public_html/store/ADMIN/includes/languages/english/email_extras.php

Line #36 : define('TEXT_EMAIL_SUBJECT_ADMIN_USER_ADDED', 'Admin Alert: New admin user added.'); 

Line #38 : define('TEXT_EMAIL_SUBJECT_ADMIN_USER_DELETED', 'Admin Alert: An admin user has been deleted.'); 

Line #40 : define('TEXT_EMAIL_SUBJECT_ADMIN_USER_CHANGED', 'Admin Alert: Admin user details have been changed.'); 
 
/public_html/store/ADMIN/includes/languages/english/login.php

Line #28 : define('TEXT_EMAIL_SUBJECT_LOGIN_FAILURES', 'Admin login failure notice'); 
 
/public_html/store/ADMIN/includes/languages/english/modules.php

Line #23 : define('TEXT_EMAIL_SUBJECT_ADMIN_SETTINGS_CHANGED', 'ALERT: Your Admin settings have been changed in your online store.'); 
 
/public_html/store/ADMIN/includes/languages/english/password_forgotten.php

Line #21 : define('TEXT_EMAIL_SUBJECT_PWD_RESET', 'Your Requested change'); 
 
/public_html/store/ADMIN/modules.php

Line #78 : zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_SETTINGS_CHANGED, $msg, STORE_NAME, EMAIL_FROM, array('EMAIL_MESSAGE_HTML'=>$msg), 'admin_settings_changed'); 

Line #92 : zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_SETTINGS_CHANGED, $msg, STORE_NAME, EMAIL_FROM, array('EMAIL_MESSAGE_HTML'=>$msg), 'admin_settings_changed'); 

Line #109 : zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_SETTINGS_CHANGED, $msg, STORE_NAME, EMAIL_FROM, array('EMAIL_MESSAGE_HTML'=>$msg), 'admin_settings_changed'); 
 
/public_html/store/ADMIN/password_forgotten.php

Line #67 : zen_mail($result->fields['admin_name'], $result->fields['admin_email'], TEXT_EMAIL_SUBJECT_PWD_RESET, sprintf(TEXT_EMAIL_MESSAGE_PWD_RESET, $_SERVER['REMOTE_ADDR'], $new_password), STORE_NAME, EMAIL_FROM, $html_msg, 'password_forgotten_admin'); 
 
/public_html/store/includes/functions/functions_email.php

Line #42 : * @param string $email_subject The subject of the email 

Line #53 : function zen_mail($to_name, $to_address, $email_subject, $email_text, $from_email_name, $from_email_address, $block=array(), $module='default', $attachments_list='', $email_reply_to_name = '', $email_reply_to_address = '' ) { 

Line #65 : foreach(array($from_email_address, $to_address, $from_email_name, $to_name, $email_subject) as $key=>$value) { 

Line #90 : $zco_notifier->notify('NOTIFY_EMAIL_ADDRESS_TEST', array(), $to_name, $to_email_address, $email_subject); 

Line #93 : $zco_notifier->notify('NOTIFY_EMAIL_ADDRESS_VALIDATION_FAILURE', sprintf(EMAIL_SEND_FAILED . ' (failed validation)', $to_name, $to_email_address, $email_subject)); 

Line #94 : @error_log(sprintf(EMAIL_SEND_FAILED . ' (failed validation)', $to_name, $to_email_address, $email_subject)); 

Line #101 : if (!isset($block['EMAIL_SUBJECT']) || $block['EMAIL_SUBJECT'] == '') $block['EMAIL_SUBJECT'] = $email_subject; 

Line #242 : $mail->Subject = $email_subject; 

Line #342 : $msg = sprintf(EMAIL_SEND_FAILED . ' '. $mail->ErrorInfo, $to_name, $to_email_address, $email_subject); 

Line #359 : $zco_notifier->notify('NOTIFY_EMAIL_AFTER_SEND_WITH_ALL_PARAMS', array($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject, $email_html, $text, $module, $ErrorInfo)); 

Line #363 : zen_mail_archive_write($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject, $email_html, $text, $module, $ErrorInfo ); 

Line #384 : * @param string $email_subject 

Line #389 : function zen_mail_archive_write($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject, $email_html, $email_text, $module, $error_msgs) { 

Line #391 : $zco_notifier->notify('NOTIFY_EMAIL_BEGIN_ARCHIVE_WRITE', array($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject, $email_html, $email_text, $module, $error_msgs)); 

Line #396 : $email_subject = zen_db_prepare_input($email_subject); 

Line #403 : (email_to_name, email_to_address, email_from_name, email_from_address, email_subject, email_html, email_text, date_sent, module) 

Line #408 : '" . zen_db_input($email_subject) . "', 
 
/public_html/store/includes/languages/english/BOC_template/create_account.php

Line #9 : define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/BOC_template/login.php

Line #58 : define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/BOC_template/no_account.php

Line #23 : define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/ask_a_question.php

Line #28 : define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/contact_us.php

Line #13 : define('EMAIL_SUBJECT', 'Website Inquiry from ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/create_account.php

Line #20 : define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/gv_send.php

Line #14 : define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME); 
 
/public_html/store/includes/languages/english/no_account.php

Line #23 : define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); 
 
/public_html/store/includes/modules/create_account.php

Line #413 : if (trim(EMAIL_SUBJECT) != 'n/a') zen_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_NAME, EMAIL_FROM, $html_msg, 'welcome'); 

Line #427 : if (trim(SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT) != 'n/a') zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT . ' ' . EMAIL_SUBJECT, 
 
/public_html/store/includes/modules/fec_create_account.php

Line #686 : zen_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_NAME, EMAIL_FROM, $html_msg, 'welcome'); 

Line #700 : zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT . ' ' . EMAIL_SUBJECT, 
 
/public_html/store/includes/modules/pages/ask_a_question/header_php.php

Line #93 : zen_mail($send_to_name, $send_to_email, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg,'contact_us'); 
 
/public_html/store/includes/modules/pages/contact_us/header_php.php

Line #74 : zen_mail($send_to_name, $send_to_email, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg,'contact_us'); 
 
/public_html/store/includes/modules/pages/gv_send/header_php.php

Line #172 : $gv_email_subject = sprintf(EMAIL_GV_TEXT_SUBJECT, $send_name); 

Line #181 : zen_mail($_POST['to_name'], $_POST['email'], $gv_email_subject, nl2br($gv_email), STORE_NAME, EMAIL_FROM, $html_msg, 'gv_send'); 

Line #187 : zen_mail('', SEND_EXTRA_GV_CUSTOMER_EMAILS_TO, SEND_EXTRA_GV_CUSTOMER_EMAILS_TO_SUBJECT . ' ' . $gv_email_subject, 
 
/public_html/store/includes/modules/pages/product_reviews_write/header_php.php

Line #124 : $email_subject = sprintf(EMAIL_REVIEW_PENDING_SUBJECT,$product_info->fields['products_name']); 

Line #125 : $html_msg['EMAIL_SUBJECT'] = sprintf(EMAIL_REVIEW_PENDING_SUBJECT,$product_info->fields['products_name']); 

Line #133 : zen_mail('', SEND_EXTRA_REVIEW_NOTIFICATION_EMAILS_TO, $email_subject , 
 
/public_html/store/includes/modules/payment/paypalwpp.php

Line #2073 : if (trim(EMAIL_SUBJECT) != 'n/a') zen_mail($paypal_ec_payer_info['payer_firstname'] . " " . $paypal_ec_payer_info['payer_lastname'], $paypal_ec_payer_info['payer_email'], EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $email_html, 'welcome'); 
 
/public_html/store/includes/modules/quick_checkout.php

Line #612 : zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT . ' ' . EMAIL_SUBJECT, $email_text . $extra_info['TEXT'], STORE_NAME, EMAIL_FROM, $html_msg, 'welcome_extra'); 
11 Apr 2015, 5:52 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "Contact form customer info" Emails are Always Blank!

hmmm .. and if you do a search on:
Results from form:

Does anything come up?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Apr 2015, 6:07 PM
#8
blackorchidcouture avatar

blackorchidcouture

Zen Follower

Join Date:
Apr 2010
Location:
Albuquerque, NM
Posts:
198
Plugin Contributions:
0

Re: "Contact form customer info" Emails are Always Blank!

I actually already tried that, and nothing came up.

A little more info, this is not something that has just started happening, I've had my cart since 2009 and have always sporadically gotten these, maybe about once a month. They seem to be sometimes connected to someone creating an account because sometimes they come after someone has created an account but not ordered something, so I always have wondered if they were trying to ask something before they put an order through or something. Not sure if it's always near the time someone creates an account though.

Anyway, if this completely fresh install with no carryovers from my old custom template doesn't fix it, then maybe that will tell us it's not coming from Zen Cart? And then I'll be even more confused!

Thanks!!