Good morning. My Objet field and my Message field inputs are not comming in my application Gmail to be send. Thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Good morning. My Objet field and my Message field inputs are not comming in my application Gmail to be send. Thanks you.

Inputs objet and message not set in Gmail https://code.sololearn.com/WG7j8nCLAugp/?ref=app

8th Jul 2022, 11:48 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 2
You didn't set 'name' attributes on your input fields. you may set them to "subject", "body", "bcc" or "cc". see the fixed code: https://code.sololearn.com/Wx14EqtpkPgU/?ref=app See css-tricks for details. It also has an example: https://css-tricks.com/all-about-mailto-links/ Apparently you can't specify senders mail using mailto URI scheme. See this question on StackOverflow: https://stackoverflow.com/questions/9380924/is-it-possible-to-modify-from-field-in-mailto-link .
8th Jul 2022, 1:42 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar