We can get the site email address by using the following default drupal variable,
variable_get('site_mail', 'default_address');
This variable will return whatever the email address we have in the drupal admin under siterconfiguraion->site information->E-mail address
No comments:
Post a Comment