利用郵箱接口在springboot項目中發送郵件(以163郵箱爲例)

1.PC端登陸163郵箱,點擊設置按鈕,找到POP3/SMTP/IMAP,須要開啓它,如圖:spring 2.開啓受權密碼,其中會叫你設置受權密碼,設置完受權密碼後如圖:springboot 3.添加maven依賴:服務器 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot
相關文章
相關標籤/搜索