D
D
dinaff2018-11-28 02:45:29
PHP
dinaff, 2018-11-28 02:45:29

How to send a Gmail email without smtp?

I want to send an email bypassing smtp.
Authorization passed, opened the mail in a lightweight html version, switched to sending a letter.
There was a problem submitting the form.
I am collecting all input hidden and trying to send a POST request to google. To which Google responds with a temporary 404 error. I feel like I'm missing something when generating the request, by the way, the request is there Content-Type: multipart/form-data
Maybe someone has already done something like that and can share advice.
If something is not clear, try sending an email through the light version and see what requests are being sent.
Try to describe the algorithm how the request is formed and what affects its correct sending. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2018-11-28
@BuriK666

Use API
https://developers.google.com/gmail/api/v1/referen...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question