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

How to use Mail? #11

Closed
ouewqa opened this issue Nov 2, 2015 · 3 comments
Closed

How to use Mail? #11

ouewqa opened this issue Nov 2, 2015 · 3 comments

Comments

@ouewqa
Copy link

ouewqa commented Nov 2, 2015

$ composer install eden/mail
Invalid argument eden/mail. Use "composer require eden/mail" instead to add packages to your composer.json.

$imap = eden('mail')->imap(
'imap.gmail.com',
'your_email@gmail.com',
'[YOUR PASSWORD]',
993,
true);

eden is function? I can't find eden source.

And which file should I include?

@jakub-rompca
Copy link

Copy and paste the content of function eden() from eden/core/src/Control.php to your class and refer to it per $this->eden('mail') etc. etc.
also, include namespace Eden in your file.

@cblanquera
Copy link

You can do the following which will load the function def in memory.

Eden_Core_Control::i();
eden('mail')->...

we just recently added Eden-PHP/Core@8922380

Eden::Decorator;
eden('mail')-> ...

@cblanquera
Copy link

Closing this issue because no activity.

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

3 participants