Author Topic: Mail malfunction/ Send mail when new order is created.  (Read 4728 times)

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Mail malfunction/ Send mail when new order is created.
« on: December 13, 2015, 03:03:42 PM »

Hello.
AbanteCart v1.2.5, Linux

1. When a new order is created - I receive an error , can't send mail see log for details . In log we see 2 ERRORS 'Error: DATA not accepted from server!' 'Error: QUIT not accepted from server!'

At the same time- administrator and customers receives their emails with order notification.

2. When I try to go in admin panel -   Sales/ send mail I receive Fatal error: Allowed memory size of 268435456 bytes exhausted ,   increasing php memory limit didn't help.

Where should I look for the error and how to fix this?  maybe some files corrupted or permissions?  any Idea ?

p.s mail is configured with smtp and default sender email is set (extensions/forms manager).  Welcome email, notifications emails are sent with no problem, contact us form works  perfectly

Thank you

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Mail malfunction/ Send mail when new order is created.
« Reply #1 on: December 13, 2015, 09:31:27 PM »
I think there are 2 problems that you have, possibly related.

1. Can you please clarify what page you access than you get memory issue.  What is rt=?

2. Are you using sendmail?

We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #2 on: December 13, 2015, 10:55:14 PM »
1. I get memory error when acessing rt=sale/contact&s( link in admin panel under sales)
Form which is supposed to send email to all or specified group of customers

2. Using smtp setup with port 25( my provider is asking to use port 465, but it doesnt send anything at all if i put 465 )

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Mail malfunction/ Send mail when new order is created.
« Reply #3 on: December 14, 2015, 09:15:19 AM »
1. I get memory error when acessing rt=sale/contact&s( link in admin panel under sales)
Form which is supposed to send email to all or specified group of customers

2. Using smtp setup with port 25( my provider is asking to use port 465, but it doesnt send anything at all if i put 465 )

1. how many email did you tried to send? 100, 1000?
2.  465 is secure port. Use ssl:// prefix for smtp-server address.. for ex
Code: [Select]
SMTP Host: ssl://smtp.gmail.com
SMTP Username:e******@gmail.com
SMTP Password: ******
SMTP Port: 465
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #4 on: December 14, 2015, 11:04:30 AM »
well I can't get to screen where I can actually send emails , php memory error occurs everytime I click on rt=sale/contact&s  (pictures attached)



regarding 465 will check and advise today if I still get error when placing an order

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Mail malfunction/ Send mail when new order is created.
« Reply #5 on: December 14, 2015, 12:02:54 PM »
can you answer what allowed memory size value do you have?
or post here output of phpinfo() (admin->system->settings->system-> phpinfo-button at heading)
Also we need to know:
1. how many products in your database
1. how many categories
2. how many customers


“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #6 on: December 14, 2015, 04:10:53 PM »
Categories: 1
Products: 130 000
customers: 121

currently i have memory_limit 256M(php.ini is recursive)

I purchased Google sitemap extension for abantecart and it can work with 512M. and imagine it's 130K products. with 256M it gives me the same error , memory exhausted.

and  I tried 1024M to see if rt=sale/contact&s would work, but it didn't. I will try it again now.

also mail error is still there when creating a new order, but all mail works and everybody gets their notification.

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #7 on: December 14, 2015, 04:25:33 PM »
465 is secure port. Use ssl:// prefix for smtp-server address..

This fixed my problem with Mailer Error

'Error: DATA not accepted from server!' 'Error: QUIT not accepted from server!'

for others looking for solutions:  100% it's always Server error, make sure you have the right settings... and clear cache before trying again.

for Dimitriy: Thank you Sir!

still working on memory error ... let me know what I can try, I will try and post a result

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Mail malfunction/ Send mail when new order is created.
« Reply #8 on: December 14, 2015, 04:37:10 PM »
try to replace file
public_html/admin/controller/pages/sale/contact.php
by attached and let me know
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #9 on: December 14, 2015, 05:00:23 PM »
Works, tested to send mail from that page - all good , no errors logged. Thank you very much!!
If possible, can you tell me what was removed or added to new file ???

Thank you for your help and i'm sure it will help others too.

 

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #11 on: December 16, 2015, 07:24:48 AM »
Thank you, got it!!

Offline morrisr

  • Newbie
  • *
  • Posts: 9
  • Karma: +4/-0
  • Simple is good
    • View Profile
    • Aloha Elegant
Re: Mail malfunction/ Send mail when new order is created.
« Reply #12 on: January 18, 2016, 11:39:00 AM »
I updated the contact.php, and I still can't send emails from contact form using SMTP & gmail.
I lowered security on the gmail did not help either;
The error is:
2016-01-18 6:21:52 - Error: Password not accepted from server!
2016-01-18 6:21:52 - Error: RCPT TO not accepted from server!
2016-01-18 6:21:52 - Error: DATA not accepted from server!
2016-01-18 6:21:52 - Error: DATA not accepted from server!
2016-01-18 6:21:52 - Error: QUIT not accepted from server!
2016-01-18 6:35:46 - Error: Password not accepted from server!
2016-01-18 6:35:46 - Error: RCPT TO not accepted from server!
2016-01-18 6:35:46 - Error: DATA not accepted from server!
2016-01-18 6:35:46 - Error: DATA not accepted from server!
2016-01-18 6:35:46 - Error: QUIT not accepted from server!

Help!

Offline alvirtuoso

  • Newbie
  • *
  • Posts: 6
  • Karma: +2/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #13 on: October 14, 2016, 02:32:52 PM »
Same problem here. Did any has solution?

I updated the contact.php, and I still can't send emails from contact form using SMTP & gmail.
I lowered security on the gmail did not help either;
The error is:
2016-01-18 6:21:52 - Error: Password not accepted from server!
2016-01-18 6:21:52 - Error: RCPT TO not accepted from server!
2016-01-18 6:21:52 - Error: DATA not accepted from server!
2016-01-18 6:21:52 - Error: DATA not accepted from server!
2016-01-18 6:21:52 - Error: QUIT not accepted from server!
2016-01-18 6:35:46 - Error: Password not accepted from server!
2016-01-18 6:35:46 - Error: RCPT TO not accepted from server!
2016-01-18 6:35:46 - Error: DATA not accepted from server!
2016-01-18 6:35:46 - Error: DATA not accepted from server!
2016-01-18 6:35:46 - Error: QUIT not accepted from server!

Help!

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4317
  • Karma: +202/-0
    • View Profile
Re: Mail malfunction/ Send mail when new order is created.
« Reply #14 on: October 17, 2016, 01:55:13 AM »
Hello.

If you see error like "not accepted from server" please contact with your hosting support  :D
“Chuck Norris is so amazing.”
― Mother Teresa

 

Powered by SMFPacks Social Login Mod