Post by robinlolo » Fri Nov 25, 2011 5:50 pm

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

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by uksitebuilder » Fri Nov 25, 2011 5:54 pm

try adding in Mail Parameters: -f1stmail@mydomain.com

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robinlolo » Fri Nov 25, 2011 6:07 pm

I tried it but .. it's not working

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by robinlolo » Sat Nov 26, 2011 2:59 am

No Help !!!!!

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by uksitebuilder » Sat Nov 26, 2011 3:07 am

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();
					}
				}				

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robinlolo » Sat Nov 26, 2011 1:35 pm

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();
}
}
Last edited by robinlolo on Sat Nov 26, 2011 1:40 pm, edited 1 time in total.

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by robinlolo » Sat Nov 26, 2011 1:40 pm

but i don't have it in catalog/controller/account/create.php
do i have to add it ? and where ?

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by uksitebuilder » Sat Nov 26, 2011 5:39 pm

I was assuming you were using the latest version of OpenCart as you hadn't bothered to put what version you are using

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robinlolo » Sat Nov 26, 2011 5:59 pm

I don't know which version i have :( i am sorry

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by robinlolo » Sat Nov 26, 2011 6:03 pm

Tell me how to figure this out and i will tell you the version

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by uksitebuilder » Sat Nov 26, 2011 6:08 pm

edit index.php

version should be at the top

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robinlolo » Sat Nov 26, 2011 6:10 pm

1.4.9.4

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by uksitebuilder » Sat Nov 26, 2011 6:24 pm

I suggest upgrading to 1.4.9.6 where email alerts were added to the account create function

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robinlolo » Sat Nov 26, 2011 6:26 pm

is it a free upgrade ?? if yes please provide me a tutorial to do that .
if i can't upgrade ..... there aren't any solutions ?

Thank you so much

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by uksitebuilder » Sat Nov 26, 2011 6:39 pm

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

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robinlolo » Sat Nov 26, 2011 6:43 pm

Thank you so much

New member

Posts

Joined
Fri Nov 25, 2011 4:08 pm

Post by madelharri » Wed Aug 07, 2013 12:40 am

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?

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

Post by madelharri » Wed Aug 14, 2013 9:53 pm

Hi
Is there nobody out there that can help please?
Thanks

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

Post by StormDesigner » Wed May 18, 2016 5:00 am

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.

StormDesigns, Inc. Website Design and Web Application Development - plus graphic design and print media.

www.StormDesigns.com


User avatar
New member

Posts

Joined
Wed Feb 01, 2012 1:53 am


Post by Yaderground » Tue Jun 28, 2016 2:37 pm

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 !

Newbie

Posts

Joined
Tue Jun 28, 2016 2:32 pm
Who is online

Users browsing this forum: No registered users and 22 guests