0

I have a webpage and a admin panel.In website there is a contact form and report bug form which let users to send mail to my info@domain.com adress. By using Cpanel I'm able to see the mails but in my admin panel I have a email page that I can send mass emails to users and one by one. Is there a way to put an API or write a code to receive my info@domain.com mails into there. I dont want to enter cpanel to check the mails but use my admin panel to do them all. Couldn't reach anything like this on internet. Any ideas?

Güney Saramalı
  • 791
  • 1
  • 10
  • 19

1 Answers1

0

yes, you can access you inbox from php. Please have a look at PHP's IMAP library: http://php.net/manual/en/function.imap-open.php

Unlike the name suggests, this library can work with imap, pop3 and nntp so you should not have issues with accessing your inbox.

Auris
  • 1,309
  • 1
  • 9
  • 18