bobcowher Posted January 14, 2013 Share Posted January 14, 2013 I'm looking for a way to authenticate to Gmail's mail server with PHP without using "Mail::factory" or needing to include "Mail.php". Is there a way to do this? Quote Link to comment Share on other sites More sharing options...
trq Posted January 14, 2013 Share Posted January 14, 2013 Mail::Factory and Mail.php are not a standard part of PHP. So, the answer is yes. Assuming the code within Mail.php and/or the code within the class produced by calling Mail::Factory is capable of doing so. Quote Link to comment Share on other sites More sharing options...
devWhiz Posted January 14, 2013 Share Posted January 14, 2013 Personally, I use IMAP to authenticate Gmail in my scripts.. $imapHost = '{imap.gmail.com:993/imap/ssl}INBOX'; $openStream = imap_open($imapHost, $gmailAddress, $gmailPassword); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.