Sending mail using CDOSYS.
Scanning past posts on SMTP auth, I believe it was said that if the "From:" address is on my domain, then that effectively passes for authentication.
However, I'd like to ensure hackers can not use my forms to send mail (I've had this attempted several times in the past). So using authentication seems like a good idea.
Questions are:
1) Is using a "From" address on my domain equivalent to authentication, or should I do proper smtp auth with a valid sender email/password?
2) Using smtp auth, can the authenticating email be different from the :From:"?
I want the "From:" to be [email protected] or "[email protected] but I don't want to have to hard-code the passwords for those into my code. Someone here suggested a dedicated email account set to discard all incoming emails. Will this work?
thanks
Scanning past posts on SMTP auth, I believe it was said that if the "From:" address is on my domain, then that effectively passes for authentication.
However, I'd like to ensure hackers can not use my forms to send mail (I've had this attempted several times in the past). So using authentication seems like a good idea.
Questions are:
1) Is using a "From" address on my domain equivalent to authentication, or should I do proper smtp auth with a valid sender email/password?
2) Using smtp auth, can the authenticating email be different from the :From:"?
I want the "From:" to be [email protected] or "[email protected] but I don't want to have to hard-code the passwords for those into my code. Someone here suggested a dedicated email account set to discard all incoming emails. Will this work?
thanks