Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Anders
Worker
Worker


Joined: Jun 16, 2004
Posts: 158
Location: Sweden

PostPosted: Wed Jun 29, 2016 11:07 am Reply with quote

Small problem with send mail...
Running xampp on localhost
and use smtp to send but cant fig that out correct any that can help have try seach but cant find the correct awnser for it

Code:
Caught Exception with $mailer->send():

exception 'Swift_TransportException' with message 'Failed to authenticate on SMTP server with username "site@mail..com" using 2 possible authenticators' in /opt/lampp/htdocs/forum/includes/tegonuke/mailer/Swift/classes/Swift/Transport/Esmtp/AuthHandler.php:179 Stack trace: #0 /opt/lampp/htdocs/forum/includes/tegonuke/mailer/Swift/classes/Swift/Transport/EsmtpTransport.php(252): Swift_Transport_Esmtp_AuthHandler->afterEhlo(Object(Swift_SmtpTransport)) #1 /opt/lampp/htdocs/forum/includes/tegonuke/mailer/Swift/classes/Swift/Transport/AbstractSmtpTransport.php(108): Swift_Transport_EsmtpTransport->_doHeloCommand() #2 /opt/lampp/htdocs/forum/includes/tegonuke/mailer/Swift/classes/Swift/Mailer.php(74): Swift_Transport_AbstractSmtpTransport->start() #3 /opt/lampp/htdocs/forum/includes/tegonuke/mailer/mailer.php(294): Swift_Mailer->send(Object(Swift_Message)) #4 /opt/lampp/htdocs/forum/modules/Your_Account/includes/functions.php(102): tnml_fMailer(Array, 'New User Accoun...', 'Welcome to Ande...', 'site@mail...', 'Anders Jakt Sid...') #5 /opt/lampp/htdocs/forum/modules/Your_Account/admin/resendmailconf.php(33): ya_mail('my@mail..com', 'New User Accoun...', 'Welcome to Ande...', '') #6 /opt/lampp/htdocs/forum/modules/Your_Account/admin/index.php(160): include('/opt/lampp/htdo...') #7 /opt/lampp/htdocs/forum/modules/Your_Account/admin/case.php(60): include_once('/opt/lampp/htdo...') #8 /opt/lampp/htdocs/forum/admin.php(121): include_once('/opt/lampp/htdo...') #9 {main}: Failed to authenticate on SMTP server with username "site@mail..com" using 2 possible authenticators
 
View user's profile Send private message
neralex
Site Admin


Joined: Aug 22, 2007
Posts: 1459

PostPosted: Wed Jun 29, 2016 11:59 am Reply with quote

Anders wrote:
Failed to authenticate on SMTP server with username "site@mail..com"


Are you sure that your SMTP username is right?

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
Anders
PostPosted: Wed Jun 29, 2016 12:03 pm Reply with quote

Yupp everthing is correct i have just change on that u see here and i have try 2 diffrent with same results

Swift_TransportException' with message 'Connection could not be established with host mail.tele2,se or smtp.gmail.com

Mailer attempting to send...
++ Starting Swift_SmtpTransport
!! Connection could not be established with host smtp.gmail.com [ #0]


Last edited by Anders on Wed Jun 29, 2016 12:24 pm; edited 1 time in total 
Anders
PostPosted: Wed Jun 29, 2016 12:14 pm Reply with quote

is it ok if i PM you so can you see everything on it
 
Anders
PostPosted: Wed Jun 29, 2016 1:19 pm Reply with quote

I did solve it...was gmail that was to secure Very Happy
take a look how to





Code:
Allow less secure apps: ON

Some non-Google apps and devices use less secure sign-in technology, which could leave your account vulnerable. You can turn off access for these apps (which we recommend) or choose to use them despite the risks.
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6795
Location: Ha Noi, Viet Nam

PostPosted: Fri Jul 08, 2016 9:49 pm Reply with quote

I had the same issue with XAMPP. I didn't want to lower my Google security settings though so ended up using a 'write to disc' script which essentially wrote emails to a folder on the PC. I should add that this was for a bespoke website that wasn't using RavenCMS/SwiftMailer.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©