You are here

function commerce_email_from in Commerce Core 7

Returns the e-mail address from which to send commerce related e-mails.

Currently this is just using the site's e-mail address, but this may be updated to use a specific e-mail address when we add a settings form for the store's physical address and contact information.

1 call to commerce_email_from()
commerce_checkout_create_account in modules/checkout/commerce_checkout.module
Creates a new user account with the specified parameters and notification.

File

./commerce.module, line 383
Defines features and functions common to the Commerce modules.

Code

function commerce_email_from() {
  return variable_get('site_mail', ini_get('sendmail_from'));
}