This topic is locked

Custom Mail Settings

4/6/2017 6:08:15 AM
PHPRunner General questions
lefty author

In the older versions of phprunner 8.0 the email settings page uses a check box that states " use built in php-mailer functions. In newer versions it shows use php mail function not recommended.
The problem is in the documentation for Runner_mail it shows attachments example that states you have to use custom mail settings . which is not one of the options in the newer versions. Can someone explain the difference as they are different but the attachment example in the documentation is still the same. must use custom mail settings . where is the custom mail settings option to change?
I am a little confused as there are actually three options I guess.

  1. runner_mail function which attachments have to be a field value.
  2. PHPmailer which is built in now can be called , but not sure if the settings are used that you enter in the email settings on misc tab or phpmailer has to have smtp settings in event code itself. and if you have to require once PHP mailer() in your code.
  3. mail function ( not recommended but was not even shown in older versions. )
    Which of these functions can I add an attachment from disk not from an uploaded field name? I realize mail function can do it . I'd rather avoid that as in testing the headers don't like phprunner events. tried to no avail.