简体   繁体   中英

I cant send an email on Shared Hosting via laravel smtp, is there a way around this?

I cant send an email on Shared Hosting via laravel smtp. My Hosting 'A2 Hosting' has blocked all outgoing smtp as stated on their website Can someone maybe tell me what the best sollution for this problem is or if there is a way around it?

The error:

Swift_TransportException Connection could not be established with host smtp.mailtrap.io [Connection refused #111]

Use http based mailing services like:

  • Mailgun
  • SparkPost
  • Postmark

Laravel also natively supported them: source

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM