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

Could not instantiate mail function when using craftman Docker-based tool #23

Closed
Saboteur777 opened this issue Nov 26, 2016 · 2 comments

Comments

@Saboteur777
Copy link

Saboteur777 commented Nov 26, 2016

I got the following error:

Craft\Exception
E-mail error: Could not instantiate mail function

I am using craftman (https://github.com/gabrielmoreira/craftman), my Craft site is now running in a Docker container.

/var/www/craft/app/services/EmailService.php(475)

if ($errorMessage)
466             {
467                 // Fire an 'onSendEmailError' event
468                 $this->onSendEmailError(new Event($this, array(
469                     'user' => $user,
470                     'emailModel' => $emailModel,
471                     'variables' => $variables,
472                     'error' => $errorMessage,
473                 )));
474 
475                 throw new Exception(Craft::t('Email error: {error}', array('error' => $errorMessage)));
476             }
477 

Craft_Exception.pdf

@taylordaughtry
Copy link
Owner

@Saboteur777 This sounds like an issue with your Craft install or with the Craftman plugin; I'm not immediately sure if this is coming from Brief. (Brief relies on Craft's native EmailService to send.)

If you're still seeing this in the future, feel free to reopen this issue with more information, and I'll check it out. Thanks for using Brief!

@Saboteur777
Copy link
Author

Saboteur777 commented Feb 13, 2017

@taylordaughtry Yeah, it is, thank you for looking into it! Opened another issue here: angusfretwell/craftsman#50

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

2 participants