Page 1 of 1

ask a question does not send mail and returns an error

Posted: 03 Jul 2023, 14:40
by ikransrl
I'm using the phoca cart component on joomla 4 and php8.1

I have enabled the "ask a question" button but I would like to receive an email when a user asks a question.

I tried both to select the user to whom the email should arrive from this parameter:
Send Email (Ask Question)

either by manually inverting the email in this other parameter:
Send Email - Others (Ask A Question)


Unfortunately when I try to submit a question via the form, I get this error:
SMTP Error: The following recipients failed: myadress@myadress.com: SENDER ADDRESS DIFFERENT FROM AUTH USER


I state that in the joomla configuration, I set the SMTP with the parameters of my email and joomla sends me the emails without errors.

Re: ask a question does not send mail and returns an error

Posted: 03 Jul 2023, 20:08
by Jan
Hi, Phoca Cart does not send emails, it uses the Joomla framework to send emails, so the question is why you get SMTP error in Phoca Cart and not in Joomla Configuration if both uses the same method to send the email. Did you try to use another SMTP service (for testing only)?

Jan

Re: ask a question does not send mail and returns an error

Posted: 04 Jul 2023, 10:56
by ikransrl
Entering here:

either by manually inverting the email in this other parameter:
Send Email - Others (Ask A Question)

a gmail email the emails arrive...
But if I put an email with my domain, no...

Re: ask a question does not send mail and returns an error

Posted: 04 Jul 2023, 14:56
by ikransrl
Unfortunately I have to say that the emails arrive once out of a hundred...

There must be a phoca cart bug...

Re: ask a question does not send mail and returns an error

Posted: 05 Jul 2023, 18:49
by Jan
Hi, the gmail is OK, other not? Then there must be some filter somewhere which refuses the emails with your domain. As written above, Phoca Cart does not have any email function - it just add data to Joomla and Joomla sends such email. In case, some email is sent successfully, then everything is OK with Joomla email and it seems like some service is filtering the emails :idea:

Jan