testing mail with appengine development server (java)

后端 未结 6 592
Happy的楠姐
Happy的楠姐 2021-02-02 17:23

I\'m using javamail to send mails from my appengine application. It works perfectly in the deployment, but I can\'t figure out how to do this using the development server. Whene

6条回答
  •  既然无缘
    2021-02-02 17:44

    From the docs:

    When an application running in the development server calls the Mail service to send an email message, the message is printed to the log. The Java development server does not send the email message.

    So just check the logs when you intend to send mail, and make sure that it shows up there. No real mail will actually get sent.

提交回复
热议问题