I have an php application which need 4 different pieces of info to send mail.
SMTP server address
SMTP server port
SMTP username
SMTP password
I am a newbie on setting up server email, for this reason my questions
Where can I find these for a specific mail address.
SMTP server address: does this need to be an ipp address or domain name?
SMTP server port the firewall only say smtp but no specific portnumber
SMTP username Where can I find this?
SMTP password Where can I find this?
The server address can be an IP address or domain name… what you use doesn’t matter, it simply needs to point at your the correct server.
Regarding the other info – that all depends on what server you plan on using. Do you plan on using your own Virtualmin server? Or were you going to send the email using a remote server, such as an ISP’s mail server?
Thanks for your fast reply!
I could find the info after making an mailbox. the data was send to my email address.
I tested but the mail is send but did not arrive.
Here is log file and as you can see in the middle, it is disconnected. So something is wrong but what?
I hope you can help!
Hello Eric,
Some updates.
I enabled port 25 in the firewall and even disabled the ufw firewall. (I use 2 firewalls).
But no result. The mail is still not arriving to its destination.
Anyway in the syslog also something is wrong: