Search

Currently I am building a site which sends an email out after a Paypal payment is successfully processed(This happens when Paypal sends a message through their IPN system). I would like to store a copy of all emails sent out if possible and I was wondering if anyone is currently doing something similar.

Looks like it would be easy to incorporate the imap_append function to store a copy on the mail server in the sent folder. http://us.php.net/manual/en/function.imap-append.php

Never tried to store emails; but had built cc/bcc functionality. The best way would be to create your own custom gateway; extend the SMTP class (not sure if I extended or copied) then build your functionality over there. That would give you flexibility to re-use if required.

Do you mean to store a physical text file of each email? Or just a log of the email?

Email Template Filter extension has a log that stores all emails sent successfully with all their info (dates, subjects, senders, recipients etc)

I am currently in the middle of a site that allows credit card and paypal payments, which sends emails out on completion using the ETF extension.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details