Closed ManuelVargas1251 closed 3 years ago
using formspree.io, we can edit the contact form to your custom fields. and their code already has the info to send the email through their service.
What about form action="mailto:...." easy peasy
or maybe better email with php
from your suggestion
basically all I need is that action code
For the first option you mention, mailto will open gmail and you will have to write your own email; there is no automation. Only opens mail client (gmail/outlook/any).
For the second option, we need a php server to run those requests which we currently do not have. unless we have server, we cannot use php :/
okay, I am creating an account on formspree to begin testing!
how fast lol I like your idea but I will try by myself php just to review some php code
okay, I am creating an account on formspree to begin testing!
here's the catch :(
yes there is a catch, custom forms require you to update also.
alternative site but similar situation: https://formkeep.com/#pricing
ok I was able to test locally.
and I received the email:
the code I used is below:
<form action="https://formspree.io/f/mknpadkz" method="POST">
<input type="text" name="name">
<input type="email" name="_replyto">
<input type="submit" value="Send">
</form>
At least I can write the code but it will never works on github. And I can add a button "mailto:ecc...."
In order to do the PHP site, we would need to also host the files in the php server by deploying in github. Using heroku is easy as it has integration for github but this will take more time to develop.
https://devcenter.heroku.com/articles/getting-started-with-php https://devcenter.heroku.com/articles/deploying-php
I understand, that's interesting
ah lol I can see it
yes, click in the Source section, and select my branch. it is named, contact-form-update-mv
I don't see any difference, do you?
I do! just tried it, check your email.
yessss!!!!
Is this a real email? ahhaha
Thank you so much Manolo!1!!1!11 Tu eres genial
if you click on my email link above, that is the mailto function. FYI
yay I tried, I don't like it
Please click on pull request in your repo front page (bottom right) :
no, make sure the base is your master(main) branch
I think this is correct
yes!
Pull Request to merge to master branch: https://github.com/sazdg/linoleumPortfolio/pull/2
Send Email from a Static HTML
I found some solutions, generally you would need a server but there are some free services we can use.
https://formspree.io/