This topic is locked
[SOLVED]

Send email by guest without login

9/30/2024 8:42:18 AM
PHPRunner General questions
J
Jan author

Hello everyone, I want to create a program that requires a login. At the same time, a guest (without login) should be able to send an email to the administrator of the program. Is this possible?
All suggestions and comments are always welcome. Thanks.

Admin 9/30/2024

You can enable guest login and create an Add page of a dummy tables with fields like subject and body. Make sure that guest user has access to that Add page and use it as a contact form.

Once user fills the form, you can send an email using either BeforeAdd or AfterAdd event of this table. It probably also makes sense to add CAPTCHA to that page to prevent abuse.

J
Jan author 9/30/2024

Valuable tip. Thanks Sergey