goalio / GoalioForgotPassword

A Zend Framework 2 (ZF2) Module offering forgot password via e-mail functionality to ZfcUser
BSD 3-Clause "New" or "Revised" License
42 stars 49 forks source link

no email sent #38

Open seihb opened 9 years ago

seihb commented 9 years ago

I have the latest version of Zf2, GoalioForgotPassword, GoalioMailService and ZfcUser. No further ThirdParty Moduls. In the database the value is changed and the message "A reminder has been sent to your e-mail address..." appears. But no Email is sent. Zend\Mail on the server is working. Thanks for any help.

pdobrigkeit commented 9 years ago

How is the GoalioMailService configured? Did you copy the goaliomailservice.global.php and/or goaliomailservice.local.php to the config/autoload directory?

seihb commented 9 years ago

Both files are in the config/autoload directory.

goaliomailservice.global.php
$settings = array( 'type' => 'Zend\Mail\Transport\Sendmail',
    'options' => array(),
);
return array(
    'goaliomailservice' => $settings,
);

goaliomailservice.local.php
$settings = array(
    'type' => 'Zend\Mail\Transport\File',
    'transport_options' => array(
    'path'          => 'data/mail/',
    ),
);
return array(
    'goaliomailservice' => $settings,
);
claytondaley commented 9 years ago

I'm seeing the same thing. FWIW I know I haven't setup the database tables yet. I expected an error that I would then resolve -- but it forwarded me to the "reminder has been sent" page. Will update as I hunt down details.

claytondaley commented 9 years ago

The next time through, I got the error (as expected) and things worked fine once I resolved the error. Sorry I can't be more help.