contact form

Hello :wave:,
I have a question
For contact form, does it have to send messages to server (XAMPP for example) or to email (Gmail, yahoo …) directly?

If you’re asking as an author looking to add a contact form to an item, then you only officially need to use PHP’s built-in mail() function. For example, XAMPP configures the mail function to use sendmail, which is also commonly available on shared hosting.

It would also be helpful to buyers if the item accepted custom SMTP settings. Depending on the nature of the item, it may or may not make sense to do this, but PHPMailer can simplify the process for supporting both of these cases.

1 Like

Thanks

1 Like