سؤال

On contact us page fields are name, email address and message.

That details send to specified mail address with entered mail address in the form.

Is it possible with gmail smtp details.

smtp details as below

Host: smtp.gmail.com
Username: *****@gmail.com
Password: ********
Port: 25
هل كانت مفيدة؟

المحلول

Gmail doesn't allow you to change the FROM to something different than your gmail account.

It doesn't matter what you use, they over-write it, before they relay it on. This prevent spamming/spoofing.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top