Jump to content

Need help with user communication emails


Recommended Posts

Hello everybody,

I hope someone can help.
I would like to be able to:
1. Know which emails the system sent to my customers
2. Get a copy of the mails that went out
3. Get an email from Presta whenever someone makes a purchase.

Does anyone know how to do any of the above?

Thanks in advance.

Link to comment
Share on other sites

Thanks, yes thought about that.
Found classes/Mail.php but it looks too complex - dont want to break anything there...
Probably need to dig deeper - it uses something called Swift which I presume is some mail handler class.

EDIT:
This swift class is one nasty piece of code....
It seem to be several long long files, with the only purpose of sending emails.....
I have a 10 line PHP code doing more or less the same.... very ugly class.

Someone said object oriented is just a way to make a simple task using complicated code - this swift class seem to match this description....

I found out that I need to use some $swift->addBcc() method, and I guess I should probably use it in the Mail.php class.
Anyone is familiar with this file and can recommend where to add this?

Link to comment
Share on other sites

×
×
  • Create New...