There is some pretty good emain documentation in:
/shop/docs/4.readme_html_email_templates.html
I don't know off-hand if it applies to your situation.
Good luck!
Tim
There is some pretty good emain documentation in:
/shop/docs/4.readme_html_email_templates.html
I don't know off-hand if it applies to your situation.
Good luck!
Tim
You could also look up the function in the functions_email.php file to see what the various parameters do.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks for all the input. I am going to check out both docs and see if I can get this thing working.
Corbett
I thought I had the info that I needed from the .php file above, but it still will not send this email. Does anyone have a working line of code that does not use any constants? Do you know what parameters I can leave out? I think I am having problems with the array, but not sure. I get no email and not error....
If I could try another working line of code, then I could add my code in one parameter at a time until it breaks.
thanks,
Cmessa
From the inline documentation:
So, the example then becomes:Code:* @param string $to_name The name of the recipient, e.g. "Jim Johanssen" * @param string $to_email_address The eMail address of the recipient, e.g. [email protected] * (used as $to_email_address after validation) * @param string $email_subject The subject of the eMail * @param string $email_text The text of the eMail, may contain HTML entities * @param string $from_email_name The name of the sender, e.g. Shop Administration * @param string $from_email_adrdess The eMail address of the sender, e.g. [email protected] * @param array $block Array containing values to be inserted into HTML-based email template * @param string $module The module name of the routine calling zen_mail. Used for html template selection and email archiving. * This is passed to the archive function denoting what module initiated the sending of the email * @param array $attachments_list Array of attachment names/mime-types to be included (this portion still in testing, and not fully reliable) **/ zen_mail($to_name, $to_address, $email_subject, $email_text, $from_email_name, $from_email_address, $block=array(), $module='default', $attachments_list='' )
The $module and $attachments_list are optional.Code:zen_mail( Name-of-recipient, Email-of-recipient, Email-subject, Text-Only-Content, Name-of-Sender, Email-of-sender, Array-of-HTML-content-variables-to-be-replaced-by-HTML-Email-templates )
Actually, the HTML array $block is also optional if you're sending text-only emails.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks, I was not sure if the html array was optional. I got it working. Thanks for you input. Seems that something was wrong with the html array.
Corbett