More experimenting:
1. Tried new installation of FT and ran system check. Other than some orphans, to problems.
2. Added code to /global/code.emails.php to throw error on mail() line to confirm problem originates there. It does.
3. Tried adding -f parameter to /global/code.emails.php on mail() line. No difference.
4. Ran a lot of tests on mail() to see if something is set up incorrectly. Seems to work fine outside of FT, including without the -f parameter.
At this point I'm just going to run the Swift Mailer module since it seems to work fine. For any newbies reading this, be sure and add your SMTP info to Swift Mailer to get it to work. Office365 SMTP settings do not appear to work, but more experimenting may prove otherwise.
Robsedor, I think you just didn't have your SMTP setting quite right on Swift Mailer. For example, I couldn't get the Office365 mail server to work, but my server's email settings worked fine.
Ganymedeskies, unless your SMTP settings are off on Swift Mailer, also, I'm not sure why you're having that problem.
1. Tried new installation of FT and ran system check. Other than some orphans, to problems.
2. Added code to /global/code.emails.php to throw error on mail() line to confirm problem originates there. It does.
3. Tried adding -f parameter to /global/code.emails.php on mail() line. No difference.
4. Ran a lot of tests on mail() to see if something is set up incorrectly. Seems to work fine outside of FT, including without the -f parameter.
At this point I'm just going to run the Swift Mailer module since it seems to work fine. For any newbies reading this, be sure and add your SMTP info to Swift Mailer to get it to work. Office365 SMTP settings do not appear to work, but more experimenting may prove otherwise.
Robsedor, I think you just didn't have your SMTP setting quite right on Swift Mailer. For example, I couldn't get the Office365 mail server to work, but my server's email settings worked fine.
Ganymedeskies, unless your SMTP settings are off on Swift Mailer, also, I'm not sure why you're having that problem.