0

I'm using PHPmailer and GMail as my SMTP server for my email app. My question is, is it possible to send an email without authentication(without having to define username and password in the phpmailer config)?

Thanks in advance!

1 Answer 1

0

No, gmail will not let you send without authentication. And yes, this means you need to have authentication info available in your script. You can obfuscate things by doing something like base-64 encoding the values so they are not visible as plain text.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.