VariableSMTP_PORT
DescriptionSMTP_PORT Environment Variable
ini files
...
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587

See SMTP_HOST above for more information and examples.