Powered by Blogger.

Multiple File convert to 7Zip File and attachments Through the Email !

No comments :
The Send Email Application has been created Using java with jdbc:oracle DataBase,with Multiple File convert to 7Zip File and attachments Through the Email .
Project  Folder and Jar File Position: 



Properties File: "dataBase.properties" is file Name
#Data Base Connection Name.
DATABASE_URL = jdbc:oracle:thin:@Host Name:Port Number:SID
DATABASE_USER = User Name
DATABASE_PASSWORD = Password
# Table Details information. 
TABLE_NAME = xyz
TABLE_FILE_NAME = xyz.FileColummn_Name
TABLE_TO_EMAIL = xyz.FileColummn_EmailId
# No Repaly email information. 
EMAIL_USER_NAME= xzy@gmail.com
EMAIL_USER_PASSWORD= xyzPassword
EMAIL_HOST = smtp.gmail.com
EMAIL_PORT = 587
EMAIL_SUBJECT= Write to Email Subjects
EMAIL_TEXTBODY= Write to Email Body
ATTACHED_FILE_URL= D://fileNameDR//
ATTACHED_FILE7ZIP_URL=D://7ZipTO_Mail//


Application Code:
1. Zip7AutoTOEmail.java

2. ZipCompress.java

3. SendMail.java

No comments :

Post a Comment

Please Write a Message for Programming or something Related issues.