akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
950 stars 512 forks source link

Akeneo not able to send mail #18855

Open aloksinha3110 opened 1 year ago

aloksinha3110 commented 1 year ago

akeneo is not able to send mail like: forget a password or any other mail from the Akeneo. I have updated the .env from this link for the mail https://github.com/akeneo/pim-community-dev/blob/master/UPGRADE.md but still not able to send the mail

also I am not able to find this https://github.com/akeneo/pim-community-dev/issues/10071#issuecomment-760182184

Can anyone help us with how we can config mail in akeneo. I am using v6

aloksinha3110 commented 1 year ago

request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "Cannot create a SenderAddress with an invalid mailer URL." at /test/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Email/SenderAddress.php line 26 {"exception":"[object] (InvalidArgumentException(code: 0): Cannot create a SenderAddress with an invalid mailer URL. at /test/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Email/SenderAddress.php:26)"} []

erwinlean commented 1 year ago

Hello, did you find any solution, i having the same issue. Modify the .env just stop the error, but doesnt work for send the mails after any work finish.

HackerinoS2 commented 5 months ago

@aloksinha3110 @erwinlean Had the same problem. Solved it by using the url format mentioned here: https://github.com/akeneo/pim-community-dev/blob/master/UPGRADE.md

The diference that I used mailgun instead of localhost and it worked.

HackerinoS2 commented 5 months ago

Hello, did you find any solution, i having the same issue. Modify the .env just stop the error, but doesnt work for send the mails after any work finish.

@erwinlean Do you have your job workers running? I had a similar problem and it was missing workers.