What is the best way to send messages from a Contact Us page in a website as a notification email to an administrator ?
So far, this is what I did but I feel like this is not really the proper way.
- I created a gmail account that will serve as an email sender
- From the contact us page, I fetched the values from the text fields and sent it using the email library of CodeIgniter using the gmail smtp
The result is that the administrator email will receive an email from the mailsender@gmail.com. What I'm thinking about is what if there are a lot of people that sent a message at the same time ? Problems might arise from such situation. Please pardon my ignorance, I'm quite new at this industry. Thank you for the response.