3 ms·
Always send those mails from a specifically configured real email address at your application's domain, not involving the name of your server. For instance, se
by JoshTriplett 10y ago
Always send those mails from a specifically configured real email address at your application's domain, not involving the name of your server. For instance, send the mail "From: contact-form@example.com", and "To: wherever-that-mail-goes@example.com". And send the mail using the actual mail server that handles @example.com mail (ideally not one you administrate). Don't include any user-supplied email address in either From or To; that'll get your mails either marked as spam or used as a vehicle for actual spam.