Well thank you to all who have indulged me though this, I was able to supress 
both the email and database entry by commenting out 3 lines in 
typo3conf/ext/powermail/pi1/class.tx_powermail_submit.php
 
if ($this->email_send) $this->htmlMail->send($this->maildata['receiver']);
became
//if ($this->email_send) $this->htmlMail->send($this->maildata['receiver']);
and that supressed the email sending without breaking PM, and
 
if ($this->dbInsert) 
$GLOBALS['TYPO3_DB']->exec_INSERTquery('tx_powermail_mails',$this->db_values); 
// DB entry$this->debug('db'); // Debug output
became
//if ($this->dbInsert) 
$GLOBALS['TYPO3_DB']->exec_INSERTquery('tx_powermail_mails',$this->db_values); 
// DB entry//$this->debug('db'); // Debug output
 
Maybe this can serve as an example for anyone else who ever wants to do 
something simular.  I don't even understand what these lines are doing or how 
but ones mentiones sending email and another inseting and db so I tried the 
common sense approach of commenting them out to see what would happen.
 
 
 
> From: [email protected]> To: [email protected]> Date: 
> Wed, 11 Feb 2009 00:10:17 -0800> Subject: Re: [TYPO3-english] PowerMail 
> Modification> > > Actually it seems this will be more simple than I though, 
> the last task can be done easily with 
> http://typo3.org/extensions/repository/view/powermail_sendpost/current/> > 
> And I figure I don't even need to supress the database entry I can just write 
> a simple query to empty the table and have it run once a week or something 
> like that to keep the database somewhat clean. The main thing now is I just 
> need to supress the email sending without powermail having a fit.> > > From: 
> [email protected]> To: [email protected]> Date: Tue, 10 
> Feb 2009 23:59:57 -0800> Subject: Re: [TYPO3-english] PowerMail Modification> 
> > > I did manage to find out where this takes place, 
> typo3conf/ext/powermail/pi1/class.tx_powermail_submit.php> > I have to admit 
> though its much more complex than I had thought it would be, I'm only a php 
> novice, I wouldn't even know how to use my CRM's API if it were not for the 
> example code they provided that does what I need to do...lol> > That said, it 
> looks like my easiest option my be to somehow supress the email sending and 
> the database in a way where powermail won't have a fit then add my own 
> function in that will get each individual fields entry and store it in a 
> variable for me to pass into my API call.> > Sounds simple on paper, or in 
> this case on email but I need to know if anyone has any bright ideas that 
> will make this easy, or better yet anyone want to make some extra money? I 
> can only set aside $50 to pay someone to do this but if you are willing I'd 
> gladly have you do it and save me the headache. > From: [email protected]> 
> To: [email protected]> Date: Tue, 10 Feb 2009 21:58:30 
> -0800> Subject: [TYPO3-english] PowerMail Modification> > > I would like to 
> modify the PowerMail extension so instead of emailing me the contents of the 
> web form that has been filled out I want to have it intergrate with my CRM 
> using the CRM's API. I got the API code, I just need to find where powermail 
> sends the email and replace that code with my API call code. Anyone know 
> where the sendmail code is in PM?> 
> _________________________________________________________________> Windows 
> Live™: E-mail. Chat. Share. Get more ways to connect. > 
> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009> 
> _______________________________________________> TYPO3-english mailing list> 
> [email protected]> 
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english> 
> _________________________________________________________________> Windows 
> Live™: E-mail. Chat. Share. Get more ways to connect. > 
> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009> 
> _______________________________________________> TYPO3-english mailing list> 
> [email protected]> 
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english> 
> _________________________________________________________________> Windows 
> Live™: Keep your life in sync. > 
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009> 
> _______________________________________________> TYPO3-english mailing list> 
> [email protected]> 
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_________________________________________________________________
Windows Live™: Keep your life in sync. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to