On the third site, however, I am running into the following problem. The $Mailer->batchSend($Msg); call causes the following PHP error:
Code: Select all
Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in /usr/(... removed ...)/SwiftMailer/lib/classes/Swift/Transport/SimpleMailInvoker.php on line 48I know the ISP of this website is very "cautious". (They are the same one I mentioned earlier, who e.g. does not supply a cron, nor a command line access.)
Is there any possibility to run SwiftMailer while PHP is in safe mode? (Well, there seem to be many "levels" of safe mode, but I mean at least this situation with a the mail() function's fifth parameter disabled).
Maybe you could have us to specufy whether or not this parameter is "available", or so? And if there are other similar restrictions I am not (yet) aware of, you could possibly handle them in a similar way?