Closed (won't fix)
Project:
Mime Mail
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2007 at 19:59 UTC
Updated:
3 Mar 2010 at 20:35 UTC
I need to be able to set the sender address statically in order to get through my host's smtp gateway. can you tell me where in the code I have to change that? I've tried a few places, but I can't get it to send.
brett
Comments
Comment #1
allie mickaInteresting.
For the time being, I don't think I'm going to make this an option in mimemail. However, you can make this change in a separate module using hook_mail_alter:
http://api.drupal.org/api/5/function/hook_mail_alter
e.g, create a file called examplemodule.module :
FWIW, there's almost always a way to do something like this in Drupal by implementing your own module, and you shouldn't have to change drupal core or contrib modules directly.