Order email not send
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Order email not send
Hi everybody!
After following all setup instruction and setting all issue I made some order in my shop but I never received any email.
Cronjob is setting and don't return any error and jobs like "order/cleanup" works well.
How can I check if everything it's ok? There's the possibility to send manual email?
The only payment method available is PostPay provider
More information to understand the problem:
- Symfony 3.4.14
- Aimeos installed last week
- PHP 5.5.9
- Ubuntu 4.23
parameters.yml
mailer_transport: smtp
mailer_host: smtp.*******.it
mailer_user: **@*****.it
mailer_password: ****
secret: **-symfony
router.request_context.host: shop.****.it
router.request_context.scheme: http
router.request_context.base_url:
mailer_* work because are the same of another symfony project
config.yml
# Swiftmailer Configuration
swiftmailer:
transport: '%mailer_transport%'
host: '%mailer_host%'
username: '%mailer_user%'
password: '%mailer_password%'
spool: { type: memory }
aimeos_shop:
mshop:
customer:
manager:
name: FosUser
password:
name: Bcrypt
client:
html:
email:
payment:
from-email: **@*******.it
from-name: Shop
bcc-email: ****@****.it
common:
content:
baseurl: http://shop.****.it/
template:
baseurl: "%kernel.root_dir%/../web/bundles/aimeosshop/themes/elegance"
Hope give you all information to help me.
Many thanks!
Lorenzo
After following all setup instruction and setting all issue I made some order in my shop but I never received any email.
Cronjob is setting and don't return any error and jobs like "order/cleanup" works well.
How can I check if everything it's ok? There's the possibility to send manual email?
The only payment method available is PostPay provider
More information to understand the problem:
- Symfony 3.4.14
- Aimeos installed last week
- PHP 5.5.9
- Ubuntu 4.23
parameters.yml
mailer_transport: smtp
mailer_host: smtp.*******.it
mailer_user: **@*****.it
mailer_password: ****
secret: **-symfony
router.request_context.host: shop.****.it
router.request_context.scheme: http
router.request_context.base_url:
mailer_* work because are the same of another symfony project
config.yml
# Swiftmailer Configuration
swiftmailer:
transport: '%mailer_transport%'
host: '%mailer_host%'
username: '%mailer_user%'
password: '%mailer_password%'
spool: { type: memory }
aimeos_shop:
mshop:
customer:
manager:
name: FosUser
password:
name: Bcrypt
client:
html:
email:
payment:
from-email: **@*******.it
from-name: Shop
bcc-email: ****@****.it
common:
content:
baseurl: http://shop.****.it/
template:
baseurl: "%kernel.root_dir%/../web/bundles/aimeosshop/themes/elegance"
Hope give you all information to help me.
Many thanks!
Lorenzo
Re: Order email not send
Are there any e-mail related errors in the log panel after you've executed the "order/email/payment" job?
Is there an "email-sent" entry in the mshop_order_status table for your orders?
Is there an "email-sent" entry in the mshop_order_status table for your orders?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Order email not send
1) noaimeos wrote:Are there any e-mail related errors in the log panel after you've executed the "order/email/payment" job?
Is there an "email-sent" entry in the mshop_order_status table for your orders?
2) no, I paste here all records about this order
mshop_order
id baseid siteid type datepayment datedelivery statuspayment statusdelivery relatedid cdate cmonth cweek cwday chour ctime mtime editor;
3 3 1 web 2018-08-22 15:41:51 \N 5 -1 \N 2018-08-22 2018-08 2018-34 3 15 2018-08-22 15:41:51 2018-08-22 15:41:51 v**i
mshop_order_status
id parentid siteid type value mtime ctime editor;
13 3 1 stock-update 1 2018-08-22 15:41:51 2018-08-22 15:41:51 v**i
14 3 1 coupon-update 1 2018-08-22 15:41:51 2018-08-22 15:41:51 v**i;
15 3 1 status-payment 5 2018-08-22 15:41:51 2018-08-22 15:41:51 v**i;
16 3 1 email-payment 5 2018-08-22 15:42:01 2018-08-22 15:42:01 aimeos:jobs
I suppose problem is "order_status=5" because I choose a PostPay payment method.
I need a payment method that provides payment when the customer receives the goods and the order confirmation email must start as soon as the checkout is done
Thanks,
Lorenzo
Re: Order email not send
The order confirmation e-mail was sent successfully because of this entry in mshop_order_status:
Your problem must be somewhere else.
Code: Select all
16 3 1 email-payment 5 2018-08-22 15:42:01 2018-08-22 15:42:01 aimeos:jobs
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Order email not send
Thanks for your reply.
Is there a log or something I can check to figure out where the error is?
Like "order/email/payment" in debug mode....
Is there a log or something I can check to figure out where the error is?
Like "order/email/payment" in debug mode....
Re: Order email not send
Like said, the e-mail was sucessfully handed over to the swiftmailer service in Symfony so there's no debug information in Aimeos. You have to activate debugging there to find out where the order configuration is gone.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Order email not send
Hello again.aimeos wrote:The order confirmation e-mail was sent successfully because of this entry in mshop_order_status:Your problem must be somewhere else.Code: Select all
16 3 1 email-payment 5 2018-08-22 15:42:01 2018-08-22 15:42:01 aimeos:jobs
today I did some tests on Swiftmail via FOS user bundles like the reset of the password and the emails arrived correctly.
I checked the configurations again and made a new order but these emails still do not arrive.
I read on some Stack Overflow that to be sure that the mail has started in the mshop-order-status table must be written "email-sent".
Do you have any idea what I could check or change again?