WebsiteBaker Support (2.8.x) > Bakery Shop
Not sending E-mail after Successful order
ChochkoBG:
One more question.
Because I'm using Cyrillic for the E-mail Subject and Body and when i edit the message in the files, the message do not read from the file. It always read from the Data Base.
I added manually a file in the folder, but when the message is sending it's not using the file, it's read the Subject and the Body from the Date Base. This is a problem for me, because it's too hard to change all of the Date Base encoding.
Is there a way to change the sending E-mail to read from the folder file, not from the Data Base fields ?
Thanks!!!
jacobi22:
take a look to other postings here and search for utf8_encode / utf8_decode in combination with bakery and try this at first.
see the code from the last post
$wb->mail(SERVER_EMAIL,$cust_email, $cust_email_subject, $cust_email_body, $setting_shop_name, $shop_email,$shop_email)
SERVER_EMAIL ist the replay-adress in the customer mail, comes from the WB-Settings
$cust_email is the customer_mailadress - comes from the customer data formular,
$cust_email_subject - comes from the bakery settings in payment methodes
$cust_email_body - was build in the code line before this mail code start, combination from datas from the payment methode settings && itemlist
$setting_shop_name - comes from the bakery settings
$shop_email - shop mail adress from the bakery settings
every variable was define in the same file (view_confirmation.p hp in vers 1.60)
if you need a new "private" variable, feel free and define it directly in this file
for example ( separat $cust_email_subject)
define
--- Code: ---$private_cust_email_subject = "My new subject text";
--- End code ---
change the code in the mail
--- Code: ---if ($wb->mail(SERVER_EMAIL,$cust_email, $private_cust_email_subject, $cust_email_body, $setting_shop_name, $shop_email,$shop_email)){
$email_sent = true;
}
--- End code ---
so its work also for the shop_name and in some part from the mail_body (== mail content)
the itemlist is a html-table-code, i think, its not possible and not needed to change a part of this code, maybe the item name
ChochkoBG:
Perfect job. Just Germany, no more comments.
Respect "jacobi22" and the rest of the Team.
Thank you very much again!!!
jacobi22:
thx :wink:
Navigation
[0] Message Index
[*] Previous page
Go to full version