View Issue Details

IDProjectCategoryView StatusLast Update
0001326OXID eShop (all versions)1.03. Basket, checkout processpublic2012-12-10 13:23
ReporterMichaelZ Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.5 revision 21618 
Fixed in Version4.2.0 revision 23610 
Summary0001326: receiving error message, when leaving the field "Order E-mails to" empty
DescriptionThe described problem is linked to the configuration setting
eShop Admin -> Master Settings -> Core Settings -> Main -> "Order E-mails to"

As we use the ERP-SOAP interface to retrieve new orders, we don't want to receive an email for every order that is made in the shop, which is why we left the mentioned field empty.

The problem now is, that we receive error e-mails from our server, that have the following content:

Error sending eMail(##SUBJECT OF MAIL##) to:

 (order)
 

Error : Could not instantiate mail function.

Apparently, although we left the mentioned field empty, there is nevertheless created an e-mail, that obviously can not be sent.

Our proposition would be to check during the order completion process whether there is an e-mail-address specified and in case there is not, not send any order e-mail at all to the shop operator.
TagsOrder
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-09-30 10:51

reporter   ~0001850

Reminder sent to: MichaelZ

Hi,

The emails about low stock of some articles are sending to the same email address, specified in this field.
If we would allow to leave this field empty, so you will not get any stock emails also.
Is it ok?

dainius.bigelis

2009-10-05 13:56

reporter   ~0001878

Final solution:
Please implement additional check, if this field is fullfilled or not.
If not fullfilled - the email should not be prepared (nor sent) at all.
Also add additional note in help popup next to this field, that "i femail is not fullfilled - no emails will be sent to admin".

rimvydas_paskevicius

2009-10-06 15:17

reporter   ~0001883

Updating oxemail method send() - now it does not tries to send mail if recipients list is empty.