You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Where do I edit the content of the emails? Especially the Contact Us email.
Doesn't the customer get a copy? I'd like to send them a courtesy copy of their message.
I want to streamline it and combine first name, last name and remove much of the prompts such as "Contact Information: First Name:" (it's obvious what it is).
And, what's with the "Image Verification" in the email? What purpose does that serve?
Contact Information: First Name:
J
Contact Information: Last Name:
Smith
Contact Information: Telephone Number:
6665554444
Contact Information: Email Address:
me@test.com
Contact Message: Message:
This is a test for you.
Image Verification: Image Verification:
large
Offline
I did something similar to the guest checkout form. I removed the redundant text descriptions on the Guest Checkout form by deleting the values in the "description" column in the core_formfields table for the ecom_guestco form rows. It looks like you might be able to do something similar for the core.contact.* rows in the core_formfields table. Not absolutely sure this will work but you might give it a test.
Offline
Thanks -
This uses
table core_mail.
core/CORE_Frontend/est/contact.php - function contact_proc ()
CORE_Mail.php - function make_email_fromdb
I see no way to reformat the message.
I would like a professionally written email that gets sent to the customer.
And, one that is easy for me to read, not a table field on each line.
Come on, there has got to be a way...
Offline
Okay - here's a start
in core/CORE_Frontend/est/contact.php - function contact_proc ()
Just above
$result = $this->CORE_Mail->make_email_fromdb(array('id' => 'core.contact', 'makeglob' => $makeglob, 'presub' => $this->globals('core_settings.core.site_name') . ' - '));
add this
$makeglob['display']['Name'] = $makeglob['display']['Contact Information: First Name'].' '.$makeglob['display']['Contact Information: Last Name']; $makeglob['display']['Phone'] = $makeglob['display']['Contact Information: Telephone Number']; $makeglob['display']['Email'] = $makeglob['display']['Contact Information: Email Address']; $makeglob['display']['Message'] = $makeglob['display']['Contact Message: Message']; unset($makeglob['display']['Contact Information: First Name']); unset($makeglob['display']['Contact Information: Last Name']); unset($makeglob['display']['Contact Information: Telephone Number']); unset($makeglob['display']['Contact Information: Email Address']); unset($makeglob['display']['Contact Message: Message']); unset($makeglob['display']['Image Verification: Image Verification']);
Now we have a much better email message - not perfect but better.
I'd still like to know how to make the perfectly formatted email message.
And, why does it move the BCC to the TO email field when I add a BCC?
Last edited by Blitzen (10-06-2012 17:11:35)
Offline
And, why does it move the BCC to the TO email field when I add a BCC?
If you're using the PHP mail() function to send mail, it will do this because it doesn't support BCCs. If you're using BCCs, I recommend using either sendmail or an SMTP server connection (re-run your installer to change the mail server designation).
Offline