Sending Mail using CakePHP 3.0

后端 未结 2 1985
既然无缘
既然无缘 2020-12-16 06:40

I am developing a website with new version 3.0 of CakePHP Framework. I am working on localhost and would like to send an email after a user has filled a form. Below is the c

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 07:05

    You had to use a SMTP server for delivery your email from your localhost in your config email.

    There are 2 ways to achieve this:

    1. Use it from a real server with a mail configuration

    2. Use SMTP server for your test on your localhost. there are a lot of SMTP server with let you use it. see mailjet.com

提交回复
热议问题