can read mails and send appointment request
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ class Sender:
|
||||
headers['sec-ch-ua-full-version-list'] = _chrome_ua_version
|
||||
data = {'check': '', '_csrf': _csrf, 'prefer': _selected_store,
|
||||
'surname': contact.last_name.capitalize(), 'name': contact.first_name.capitalize(),
|
||||
'phone_country': "FR", 'phone_number': "+33 " + contact.phone, 'email': contact.mail,
|
||||
'phone_country': "FR", 'phone_number': "0" + contact.phone, 'email': contact.mail,
|
||||
'passport_id': contact.passport, 'processing': 'on', 'cgu': 'on'}
|
||||
self.logger.info(data)
|
||||
self.logger.info("try to request for mail:{}".format(contact.mail))
|
||||
|
||||
Reference in New Issue
Block a user