method

register_observer

register_observer(observer)
public

Register an Observer which will be notified when mail is delivered. Either a class or a string can be passed in as the Observer. If a string is passed in it will be constantized.