readme.txt
来自「Java Send Mail using command line argume」· 文本 代码 · 共 26 行
TXT
26 行
Hi,
- I've attached the java file - SendMail.java
- I've used the mail.jar and activation.jar
- activation.jar is optional. If in case you come across any errors based on authentication, dont forget to use it
- set classpath for the jar file before compiling the Java file
Method to set classpath for Jar file:
Please have the Java File and the Jar files in the same directory(Say C:\SendMail)
>set classpath = c:\SendMail\mail.jar;c:\SendMail\activation.jar;
Please check with your hostname, username and password.
Sample command line arguments
java SendMail danniejoe.ad@gmail.com TestMail "Hi there,Welcome" dannie@gmail.com smtp.gmail.com 465 true true kevin@gmail.com kevin123 true text/plain utf-8
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?