ask a question does not send mail and returns an error

Phoca Cart - complex e-commerce extension
ikransrl
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2023, 15:01

ask a question does not send mail and returns an error

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
ikransrl
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2023, 15:01

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

Post 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...
ikransrl
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2023, 15:01

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

Post by ikransrl »

Unfortunately I have to say that the emails arrive once out of a hundred...

There must be a phoca cart bug...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
Post Reply