Jump to content

Recommended Posts

28 minutes ago, kimokimo said:

i was trying to get the email of the admin while installing the module still i coudn't find a way to  do it any idea about how i can get this ?

Hi,

Why  do you need the  admin email  for?

Edited by ndiaga (see edit history)

Share this post


Link to post
Share on other sites
3 minutes ago, kimokimo said:

i want to use the admin email because he need an account on my platform and i am willing to automate the email filling

Ok, then you can do this:


$employee=$this->context->employee;
$current_email=$employee->email;

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More