Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when sending mail #33

Open
1CASH1 opened this issue Jun 17, 2014 · 4 comments
Open

Problem when sending mail #33

1CASH1 opened this issue Jun 17, 2014 · 4 comments

Comments

@1CASH1
Copy link

1CASH1 commented Jun 17, 2014

Install the GoalioRememberMe with the following line:
"require": {
"goalio/goalio-forgotpassword": "1.*"
}
and when I send mail, I get the following problem:

Zend\ServiceManager\Exception\ServiceNotCreatedException: An exception was raised while creating "goaliomailservice_transport"; no instance returned

Zend\Mail\Exception\InvalidArgumentException:
Zend\Mail\Transport\FileOptions::setPath expects a valid path in which to write mail files; received "data/mail/"

@1CASH1
Copy link
Author

1CASH1 commented Jun 17, 2014

I have installed the following:

  • Installing zf-commons/zfc-base (v0.1.2)
    Loading from cache
  • Installing zf-commons/zfc-user (1.1.0)
    Loading from cache
  • Installing goalio/goalio-mailservice (1.0.1)
    Loading from cache
  • Installing goalio/goalio-forgotpassword (1.0.2)
    Loading from cache

@RicardoNeves
Copy link

I'm also having this problem, but I get two more exception on the same page:
An exception was raised while creating "goaliomailservice_options"; no instance returned
The option "options" does not have a matching setOptions setter method which must be defined

Maybe I am missing something... any help?

@renewable
Copy link

I'm also having the same problem as Ricardo. Original (previous) exception:
-- The option "options" does not have a matching setOptions setter method which must be defined

I've temporarily got round this by adding a function to GoalioMailService\Mail\Options\TransportOptions

public function setOptions($options) {
$this->transportOptions = $options;
return $this;
}

I've only just started trying to get the GoalioMailService module to work - Will comment further if & when I make any progress.

@earlhickey
Copy link

There is a typo in the config file; 'options' => array('path' => 'data/mail/') should be 'transport_options' => array('path' => 'data/mail/'). There already is a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants