I created own module, there how to get sender name and email ?
I have to create custom admin config option like Email Sender. Here i used below code, to set drop-down then i don't know how to get store email and name in my controller.
<outofstocknotification_admin_email>
<label>Email Sender</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_email_identity</source_model>
</outofstocknotification_admin_email>