Skip to content

SMTP - TLS (suggestion) #134

@lorol

Description

@lorol

Hi,
I managed to ugly-patch htmlMimeMail.php and smtp.php to be able to test Gmail / Hotmail free SMTP services.

Of course, it is not very serious for any manufacturing company to use them, neither to use an ERP on free hosting :) but anyway, someone else may want to try or use SMTP w/TLS e-mailing

Notes - issues faced:

  • STARTTLS on port 587 is easy to be added add to the existing smtp.php
  • However, these free SMTP (Gmail Hotmail) services are restrictive, so the 'From' should always be the same (as the SMTP login username)
  • Also helo string in webERP may need longer size, better to use again a fixed one within the code - entire SMTP setup page needs a review, BTW
  • There is a problem ( Shared hosting w/ PHP 7.4 environment ) htmlMimeMail.php to call statically this, like smtp:: and Mail_RFC822:: functions so I needed to place some workaround code, too.

Maybe a better replacement can be done w/ PHPmailer plus the necessary addition SMTP configuration fields.
Please consider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions