카테고리 없음

[PHP] 양식 데이터를 이메일 ID에 직접 게시하는 방법

행복을전해요 2021. 1. 20. 13:02

사용해보십시오

<form action="mailto:web@domain.com" method="post" enctype="text/plain">

대신에

<form action:"mailto:web@domain.com" method="post" enc type="text/plain">

:-)

-------------------

아래와 같이 :

 <form action="mailto:myforms@mydomain.com" enctype="text/plain" onsubmit="location.href='thanks.html';" >

참조 : http://www.html-form-guide.com/email-form/email-form-mailto.html

-------------------

시험

<form action="mailto:web@domain.com" method="post" enctype="text/plain">
</form>

enctype을 잘못 썼습니다. 도움이 되었기를 바랍니다 :)



출처
https://stackoverflow.com/questions/22008837