Manual:$wgAdditionalMailParams

Details
Additional email parameters, will be passed as the last argument to mail call. Ignored in safe_mode.