Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confirmation email does not send #23

Open
kostaslm opened this issue Sep 7, 2017 · 4 comments
Open

confirmation email does not send #23

kostaslm opened this issue Sep 7, 2017 · 4 comments

Comments

@kostaslm
Copy link

kostaslm commented Sep 7, 2017

When I test the contact form I receive the email but the user does not receive the confirmation email. Can only see the confirmation message in my page. What I have to do that the user receive a confirmation email too?

@michael-milette
Copy link
Owner

Hi @kostaslm ,

Thank you for your question. I am seeing an increased interest in the confirmation email feature. Unfortunately it has not yet been implemented yet however I am hoping to find the time to include it in the next release of Contact Form due out around November (usually just before each major release of Moodle itself). If you are in a hurry for this feature to be implemented and would like to get it sooner, I am available for hire. :-)

Let me know if you can wait (I will notify you) or if you would like it sooner.

Best regards,

Michael

@kostaslm
Copy link
Author

thank you very much for your immediate response. I can wait until November.

Best regards
Kostas

@kostaslm
Copy link
Author

Hello,
I have found a solution:
I have changed the code of local/contact/class/local_contact.php from
// Send confirmation email message to the sender. email_to_user($from, $to, $subject, html_to_text($htmlmessage), $htmlmessage, '', '', **false**); }

to
// Send confirmation email message to the sender. email_to_user($from, $to, $subject, html_to_text($htmlmessage), $htmlmessage, '', '', **true**); }

But now I have another problem
Both emails are in english.
I have create folder for Greek language. I have done translation in english folder too. Nothing.
The emails are always in english.

@michael-milette
Copy link
Owner

Hi @kostaslm

I am aware of the issues. Like I said, that feature is in development.

Also, be warned that simply changing the FALSE to TRUE is not a sustainable solution. Next time you upgrade the plugin, it will revert back to it's previous behaviour.

Last but not least, I am glad that you creating a Greek language translation file. If you would be so kind as to consider uploading it to AMOS so that it becomes part of the Greek language pack for Moodle, I, and probably many others would really appreciate it.

Best regards,

Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants