Using DKIM in phpMailer or SMTP

@wxman If the smtp server approach does sign then use that. Unless you are sending emails constantly at a high rate then I guess that the performance impact won’t be noticeable.

But you don’t appear to be getting that the local mail server, used by the php mail function, isn’t configured to sign emails. If you can fix that then you will have a choice of which sending method to use.