title: Wordpress - How to send an email notification when page is loaded?
body: <p>I am currently looking for a way to send an email notification with WordPress website. So for example, when user visits page A, there'll be an email notification sent in the background. </p>
  
  <p>I haven't got much experience with web development in WordPress environment, so can anyone give me a pointer here? Where should I start? </p>
  
  <p>Thanks.</p>
  
  <p>Edit:</p>
  
  <p>I have tried both mail() &amp; wp_mail() functions but none of them seemed to work for me. When I visited that page, no email got sent out. I've also checked the template for that page, which is just default template. Perhaps I was editing the wrong file?? </p>
  
  <p>Edit2:</p>
  
  <p>I guess mail function probably hasn't yet been enabled by the hosting provider. </p>