Question

I'm trying to test out some email scripts form my localhost but it doesn't seem to be working for any of the smtp settings that I'm using. I was able to activate it using the settings that I have from my business server but it has put a block on me for sending too many emails. Here were the settings (edited):

[mail function]
    ; For Win32 only.
    SMTP = mail.mydomain.co.uk
    smtp_port = 26
    sendmail_from = info@mydomain.co.uk

Are there any other settings I can use that will successfully allow me to send emails via my localhost in the mail function, such as from google, etc, etc?

Thank you

Was it helpful?

Solution

on a windows machine sending emails from a localhost via local smtp is rather hard, you can use libraries, I advise Swiftmailer, to send emails from your external email account, e.g. Gmail

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top