System Error Messages

I am currently building a system (custom CMS) and the requirement is to catch all emails sent by the public to a registered email address and reply through an email address through the system through a registered email address.

For instance:

  • I installed it at info@stackoverflow.com and then when slim@slim.com sent an email to info@stackoverflow.com
  • my system will catch it and display an email with the attachment to the group
  • Who processes the email will generate "randomHashTemp" @ stackoverflow.com "to determine who processes this email.
  • the system will respond via "randomHashTemp" @ stackoverflow.com (e.g. google group)
  • Chat with us through "randomHashTemp" @ stackoverflow.com

BUT

  • if the user sent to else@stackoverflow.com , they will be captured by their current email server, for example, exchange

I do not know what it's called. Can I find out how I can implement it? consult some links or keywords. I knew many solutions for the knowledge base, CRM, project management software integrated through CNAME, changing DNS, but I did not know how to do this. Thank.

Update

The sample will look like http://www.cloudmailin.com but what I want is generated from my application and receives emails from the public for my clients.

+5
4

, !! , , . .

-, fMailbox . [ @Nytram, , 50 . !] . , , PHP! aint framework, . (, , - ! )

  • FMailbox

-, [@Ramon de la Fuente]. ( @Ramon de la Fuente, google- , : P , - , Google. , :))

  • (*@email.com)

-, [@Nick]. (, @Nick, - . Email , thirdparty. cloudmailin) ​​

  • Explode .

, . FMailbox ;)

!

0

, . , , .

unix, script,

SO

, -, procmail. PHP-, . .

+1

cloudmailin - . :

  • , . info+dfj28d@example.com

  • example.com info youraccount@cloudmailin.com.

  • Cloudmailin - http://example.com/yourwebhook.php.

  • , cloudmailin, cloudmailin , , - , . -PHP, :

    <?php /* webhooks.php */
    $address = $_POST['to']; // 'info+dfj28d@example.com'
    $addressParts = explode('@', $address); // array('info+dfj28d', 'example.com')
    $userParts = explode('+', $addressParts[0]); // array('info', 'dfj28d');
    $hash = $userParts[0]; // 'dfj28d'
    ?>
    

, info+dfj28d, gmail, gmail username+alias . .

, (dfj28d), (info) , (, info) (else@example.com).

+1

Google Apps . http://www.google.com/apps/

"app @", . , . (php), IMAP.

[ , , // , . ]

"" Apps, , "else @", ​​ .

:

  • Google.
  • - ( gmail).
  • , . ( : , catchall)

:

IMAP, .


( Mandrill , - API )

+1

All Articles