Jump to content

Archived

This topic is now archived and is closed to further replies.

leeue

[SOLVED] Webauction FROM address ANONYMOUS

Recommended Posts

Hello all,

 

Is anyone familiar to the opensource app: webauction?

At registration an confirmation email is sent with FROM address: anonymous@servername.domainname.nl

Other mails (bids, outbids etc) DO use the right address, given in the conf.ini file.

I can't figure out how/where to solve this. Looked in dozens and dozens of files, but no succes so far.

The webauction/xataface forum also didn't bring any solution.

Maybe here?

 

Kind regards and many thanks for any help,

Leeue

Share this post


Link to post
Share on other sites

Xataface admin came with solution. I will post it here. Maybe helpfull for future posters:

 

Add the following method to your application delegate class (located in conf/ApplicationDelegate.php):

<code>

function getRegistrationActivationEmailInfo(&$record, $activationURL){

        return array(

            'headers' => ''From: '.getConf('notification_from_address') . "\r\n" .

                                'Reply-To: '.getConf('notification_from_address') . "\r\n"

            );

             

    }

</code>

 

Thanks to all.

Erik

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.