testing mail with appengine development server (java)

后端 未结 6 590
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 Eclipse, select the Run menu, Debug Configurations..., and then select your app’s configuration. Select the Arguments tab, then in the “VM arguments” section, set VM properties like this:

    -Dmail.log_mail_level=WARNING -Dmail.log_mail_body=true

提交回复
热议问题