I am working on an email sending project in python
when i pass %s in post method with a variable its discarding all new lines and sending it to email so im getting all stuffed emails can somebody please help
post method :
r = requests.post('https://maker.ifttt.com/trigger/Custom Newsfeed/with/key/nYmoaoROeu6Mf2SrBOgUg?value1=%s' % (s))
so if s contains a news with headline and body, in email im getting it all concatenated together