yes. email verification for register and password reset.
simple add to your sfGuardUser.class.php and you have a extra email
column
public function setTableDefinition()
{
parent::setTableDefinition();
$this->hasColumn('email', 'string', 80, array('notnull' => true,
'unique' => true));
}
i simple use the mail function ;) so i set a smtp relay in my php.ini.
but you can use any other mailer like Zend_Mail or SwiftMailer simple
create a sfGuardExtraMail in your lib folder with a static function
send
static public function send(array $params)
greetings
Gimler
On 24 Mrz., 15:42, Tom Boutell <[email protected]> wrote:
> You have a point re: merging the email field into the users table.
> Hopefully a future version of sfDoctrineGuardPlugin will offer column
> aggregation inheritance to allow this kind of thing to be done more
> elegantly.
>
> Does your approach handle account verification and so on?
>
> Symfony 1.2 doesn't have a built-in mailer. What did you use instead
> of SwiftMailer? Zend?
>
> --
> Tom Boutell
> P'unk Avenue
> 215 755 1330
> punkave.com
> window.punkave.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---