Skip to main content

Sending pdf document through gmail using python

Project description

It will send a pdf documnet from your gmail account to another gmail account .

How does it work ?

from pdf-mail import sendpdf

sender_email=input() #”abcd@mail.com” receiver_email=input() #”abcd@mail.com” sender_password=input() # “abcd1412” subject=input() # “Heading” body=input() # “Any Text ” filename=input() #”Name of file” address_of_file=input() # “C:/Users/Vasu Gupta/Desktop” It should be in this format (slash(‘/’) is to be corrected while providing input)

k=sendpdf(sender_email,receiver_email,sender_password,subject,body,filename,address_of_file) k.email_send()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf_mail-3.0.0.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file pdf_mail-3.0.0.tar.gz.

File metadata

  • Download URL: pdf_mail-3.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.0

File hashes

Hashes for pdf_mail-3.0.0.tar.gz
Algorithm Hash digest
SHA256 4b6b117c9b293e8b53a6c572c6d634036f5565d69c082f6a843f859bb95d2d14
MD5 cfd2f0f10d337783a8b44bc90bba14c2
BLAKE2b-256 068a6f38325095af9d51dbd87cfd7c636354b2abae3596ac13e824c7bc274fb8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page