Hello Guys ,
In the general tab i have set email 1stmail@mydomain.com
=================================================
in the mail tab my configuration is as follow :
Mail Protocol: Mail
Mail Parameters:
SMTP Host:
SMTP Username:
SMTP Password:
SMTP Port:
SMTP Timeout:
New Order Alert Mail:
Yes
New Account Alert Mail:
Yes
Additional Alert E-Mails:
2ndmail@mydomain.com,3rdmail@mydomain.com
when new customer register .. it send Email to customer and 1stmail with no problem
but doesn't send to the 2ndmail and 3rdmail in the additional alert mail .
Please help me as soon as you can
In the general tab i have set email 1stmail@mydomain.com
=================================================
in the mail tab my configuration is as follow :
Mail Protocol: Mail
Mail Parameters:
SMTP Host:
SMTP Username:
SMTP Password:
SMTP Port:
SMTP Timeout:
New Order Alert Mail:
Yes
New Account Alert Mail:
Yes
Additional Alert E-Mails:
2ndmail@mydomain.com,3rdmail@mydomain.com
when new customer register .. it send Email to customer and 1stmail with no problem
but doesn't send to the 2ndmail and 3rdmail in the additional alert mail .
Please help me as soon as you can
check you have the following in catalog/codel/checkout/order.php
Code: Select all
foreach ($emails as $email) {
if ($email && preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $email)) {
$mail->setTo($email);
$mail->send();
}
}
I have this in order.php
// Send to additional alert emails
$pattern = '/^[A-Z0-9._%-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i';
$emails = explode(',', $this->config->get('config_alert_emails'));
foreach ($emails as $email) {
if (strlen($email) > 0 && preg_match($pattern, $email)) {
$mail->setTo($email);
$mail->send();
}
}
// Send to additional alert emails
$pattern = '/^[A-Z0-9._%-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i';
$emails = explode(',', $this->config->get('config_alert_emails'));
foreach ($emails as $email) {
if (strlen($email) > 0 && preg_match($pattern, $email)) {
$mail->setTo($email);
$mail->send();
}
}
Last edited by robinlolo on Sat Nov 26, 2011 1:40 pm, edited 1 time in total.
I was assuming you were using the latest version of OpenCart as you hadn't bothered to put what version you are using
of course upgrading is free
visit the download link at the top of this site
download 1.4.9.6
read and follow the upgrade.txt file in the download archive
visit the download link at the top of this site
download 1.4.9.6
read and follow the upgrade.txt file in the download archive
Hi
I have a problem with the additional alert emails - none of them are coming through at all. I am on Opencart 1.5.4. I've got 4 emails that are supposed to get alerts; all correct and all separated by commas.
I've checked catalog/model/checkout/order.php and this code is there
Code: Select all
foreach ($emails as $email) {
if ($email && preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $email)) {
$mail->setTo($email);
$mail->send();
}
}
Can anybody help please?
I have a problem with the additional alert emails - none of them are coming through at all. I am on Opencart 1.5.4. I've got 4 emails that are supposed to get alerts; all correct and all separated by commas.
I've checked catalog/model/checkout/order.php and this code is there
Code: Select all
foreach ($emails as $email) {
if ($email && preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $email)) {
$mail->setTo($email);
$mail->send();
}
}
Can anybody help please?
I'm in a similar situation and using 2.0.3.1 and while our store sends email alerts and contact forms to the main store admin email it doesn't appear to be sending at all to the additional Alert E-Mails.
Is there a setting in admin that would prevent this from working?
Is it a known issue?
Is there a (fairly straightforward) code based workaround?
The store owner does receive emails (alerts and orders) so I know it can work and it isn't a server issue in that sense.
I feel like this worked previously.
Is there a setting in admin that would prevent this from working?
Is it a known issue?
Is there a (fairly straightforward) code based workaround?
The store owner does receive emails (alerts and orders) so I know it can work and it isn't a server issue in that sense.
I feel like this worked previously.
StormDesigns, Inc. Website Design and Web Application Development - plus graphic design and print media.
www.StormDesigns.com
Hi there,
This may sound ridiculously easy, but I spend way too much time on this :
To enable additionnal alert emails,
1 ) go to your settings page,
2 ) select tab : option
3 ) look for "New Order Alert Email" in the checkout section
4 ) check the box
It allows sending emails to your additional email adress in the case an order is placed.
I hope it will help some of you !
This may sound ridiculously easy, but I spend way too much time on this :
To enable additionnal alert emails,
1 ) go to your settings page,
2 ) select tab : option
3 ) look for "New Order Alert Email" in the checkout section
4 ) check the box
It allows sending emails to your additional email adress in the case an order is placed.
I hope it will help some of you !
Who is online
Users browsing this forum: No registered users and 74 guests