WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
I'm using SMTP Configuration settings.My Web-Page have a different E-mail Address than the Bakery Shop Module.
I understood that by the "German Laws" there are Laws, about the Sending Messages by unregistered users (I didn't get the point about the unregistered users), but anyway I'm using this is my local network.Also all of my users are registered, so i think it will not be a problem to send messages.Also this Law is "only about the Core", but anyway - Bakery Shop and Mini-Form - they are Modules.
<?phpif (mail($cust_email, $cust_email_subject, $cust_email_body, $cust_email_headers)) { $email_sent = true; } if (mail($setting_shop_email, $shop_email_subject, $shop_email_body, $shop_email_headers)) { $email_sent = true; }
<?php// Send confirmation e-mail to customer and shop - new Code if ($wb->mail(SERVER_EMAIL,$cust_email, $cust_email_subject, $cust_email_body, $setting_shop_name, $shop_email,$shop_email)){ $email_sent = true; } if ($wb->mail(SERVER_EMAIL,$setting_shop_email, $shop_email_subject, $shop_email_body, $setting_shop_name, $shop_email,$shop_email)){ $email_sent = true; }
// Send confirmation e-mail to customer and shop - new Code if ($wb->mail(SERVER_EMAIL,$cust_email, $cust_email_subject, $cust_email_body, $setting_shop_name, $shop_email,$shop_email)){ $email_sent = true; } if ($wb->mail(SERVER_EMAIL,$setting_shop_email, $shop_email_subject, $shop_email_body, $setting_shop_name, $shop_email,$shop_email)){ $email_sent = true; }
This is.
$private_cust_email_subject = "My new subject text";
if ($wb->mail(SERVER_EMAIL,$cust_email, $private_cust_email_subject, $cust_email_body, $setting_shop_name, $shop_email,$shop_email)){ $email_sent = true; }