https://github.com/danisfermi/emailrecruit
Python Scripting to send Email to Recruiters (Job Hunt)
https://github.com/danisfermi/emailrecruit
email email-sender python python-2 python2
Last synced: about 1 year ago
JSON representation
Python Scripting to send Email to Recruiters (Job Hunt)
- Host: GitHub
- URL: https://github.com/danisfermi/emailrecruit
- Owner: danisfermi
- License: gpl-3.0
- Created: 2017-11-09T06:51:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-09T06:51:50.000Z (over 8 years ago)
- Last Synced: 2025-04-09T22:17:12.414Z (about 1 year ago)
- Topics: email, email-sender, python, python-2, python2
- Language: Python
- Homepage:
- Size: 94.7 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# emailRecruit
A simple Python script to send Emails with Resume to Recruiters
### Sending Email as an Attachment
The script uses the native Python smtplib library. It takes the server-name (or IP address) and the port number as parameters.
To send a clean email with proper subject line and receiver, email.MIMEMultipart and email.MIMEText modules will be used.
Attaching involves converting the attachment to Base64. This method works for text files, pdf files, images, audio and video files, just incase you wanna get more creative with your resumes :D
### Body of the Mail
The script uses the inbuilt string replace function to replace the generic string variables with company spcific values. Implemented in function getBody(), explained with inline comments.
### Reading and Parsing from Excel
The script uses Excel's xlrd Python library. A class is used to iterate over and store recruiter details. If you use a class, you can access all values via dot-notation (alternative would have been a dictionary).