coderatul / emailbomber

a powerful script in python to send bulk mails
MIT License
47 stars 17 forks source link

Anyway to avoid message been sent to spam folder? #11

Closed Frido-Cpp closed 1 year ago

John-Kiruba commented 1 year ago

You could try to assign the Content-Type explicitly as ' text/plain' of the header fields that is sent via script. Apparently explicitly denoting the charset and type of the message helps .

Source Doc

msg = EmailMessage()
msg.set_content(message, subtype="plain", charset='us-ascii')

Note here the subtype="plain"

Although ,the spam filtering criteria is set by the mailing application , its unclear on what basis a mail falls into spam. Most of the apps like Gmail have variety of filtering criteria , it decides if the mails are sent to inbox or spam folder.

Frido-Cpp commented 1 year ago

Thanks

coderatul commented 1 year ago

hey @John-Kiruba could you make the following changes

abao168899 commented 3 months ago

未提供描述。 注意标题的元素代码