From: Paul L. <pa...@sq...> - 2007-01-04 07:58:48
|
On 1/3/07, Anthony P. <caj...@in...> wrote: > Hello Everyone, > > I'm reviewing the SM code and can't seem to find what I'm looking for. I'm hoping maybe someone can help me. It should be pretty easy for someone familiar with the codebase. Maybe I'm just looking in the wrong place. > > Here's my problem: > > Let's say a user is at the stage where they have done whatever they need to do with a > piece of mail being composed and they are ready to send. When they hit the send > button I need to perform some specific actions with the contents of the mail prior to > actually sending it. You want the compose_send hook. You can do most of what you need as a plugin. Look at other plugins on that hook, like HTML_Mail > My question is what file is the main work of sending an email actually done? Is it in > the compose.php file or is it somewhere else? Depends what you need. Some things are done in compose.php, but it also pulls together a lot of backend functionality from the classes in class/mime/, class/deliver and so forth. |