What's wrong with SMTP

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

I have tried brevo, sendpulse mailjet, mailgun but nothing works but installed ips to check smtp works or not on ips smtp works. Please help how to fix SMTP
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,531
Points
523

Reputation:

I have tried brevo, sendpulse mailjet, mailgun but nothing works but installed ips to check smtp works or not on ips smtp works. Please help how to fix SMTP
riadipscYou need to show us the configuration you have made in Xenforo, masked some part of it so that we do not see all.

Have you checked the server logs? Logs in ACP?

Is E-Mail enabled?
 

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

You need to show us the configuration you have made in Xenforo, masked some part of it so that we do not see all.

Have you checked the server logs? Logs in ACP?

Is E-Mail enabled?
BattleKingYes email Enabled and I tried mailgun addon thats working and sendpulse working on ips on same server, I can use mailgun but I like to use sendpulse as its sending limit is more than mailgun as free. Is it possible to modify mailgun addon for sendpulse?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,531
Points
523

Reputation:

Yes email Enabled and I tried mailgun addon thats working and sendpulse working on ips on same server, I can use mailgun but I like to use sendpulse as its sending limit is more than mailgun as free. Is it possible to modify mailgun addon for sendpulse?
riadipschow did you configured sendpulse in IPS?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,531
Points
523

Reputation:

Yes email Enabled and I tried mailgun addon thats working and sendpulse working on ips on same server, I can use mailgun but I like to use sendpulse as its sending limit is more than mailgun as free. Is it possible to modify mailgun addon for sendpulse?
riadipscChange the Email transport method to SMTP

1691675010956.png


Copy Your SMTP Login Credentials​


Go to the “SMTP Settings” > “General” tab in your SendPulse account. Copy your SMTP authorization values: server address, port, login, and password.


You can access the SMTP settings after your profile gets activated. The “Your profile is being moderated” message will disappear from the page, and you will receive an email notifying you that your account has been approved and activated.

Now enter these information into the configuration section of xenforo:

1691675180610.png


Hope this help.
 

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

• Swift_TransportException: Email to [email protected] from [email protected] failed: Connection could not be established with host smtp-pulse.com :stream_socket_client(): Unable to connect to ssl://smtp-pulse.com:465 (Connection refused) Log data: ++ Starting XF\Mail\SmtpTransport !! Connection could not be established with host smtp-pulse.com :stream_socket_client(): Unable to connect to ssl://smtp-pulse.com:465 (Connection refused) (code: 0)



• src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124
Stack trace

#0 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(138): Swift_Plugins_LoggerPlugin->exceptionThrown(Object(Swift_Events_TransportExceptionEvent)) #1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(116): Swift_Events_SimpleEventDispatcher->bubble(Array, Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown') #2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(434): Swift_Events_SimpleEventDispatcher->dispatchEvent(Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown') #3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(145): Swift_Transport_AbstractSmtpTransport->throwException(Object(Swift_TransportException)) #4 src/XF/Mail/Mailer.php(294): Swift_Transport_AbstractSmtpTransport->start() #5 src/XF/Mail/Mail.php(459): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), NULL, false) #6 src/XF/Admin/Controller/Tools.php(288): XF\Mail\Mail->send(Object(XF\Mail\SmtpTransport), false) #7 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag)) #8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(Truonglv\Watermark\XF\Admin\Controller\Tools), NULL) #9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Watermark\XF\Admin\Controller\Tools), NULL) #10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #11 src/XF/App.php(2487): XF\Mvc\Dispatcher->run() #12 src/XF.php(524): XF\App->run() #13 admin.php(13): XF::runApp('XF\\Admin\\App') #14 {main}

Request state

https://domain.com/admin.php?logs/server-errors/5/delete
 

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

Same with port 587

Server error log
  • Swift_TransportException: Email to [email protected] from [email protected] failed: Connection could not be established with host smtp-pulse.com :stream_socket_client(): Unable to connect to tcp://smtp-pulse.com:587 (Connection refused)
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:261
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,531
Points
523

Reputation:

Same with port 587

Server error log
  • Swift_TransportException: Email to [email protected] from [email protected] failed: Connection could not be established with host smtp-pulse.com :stream_socket_client(): Unable to connect to tcp://smtp-pulse.com:587 (Connection refused)
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:261
riadipscdid you checked at the end of sendpulse, in the control center or dashboard, possibly something has not been enabled, but as you mentioned it works with IPS, it must be enabled.

How did you configured it in IPS?
 

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

Like this one as you mentioned,
 

Attachments

  • 1691675180610.png
    1691675180610.png
    40.9 KB · Views: 159

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

After setup I used a demo Gmail to register and received confirmation mail.
 

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

problem was cloudflare, if cloudflare off smtp working if on not working, how do I config mx record for cloudflare
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
725
Points
253

Reputation:

problem was cloudflare, if cloudflare off smtp working if on not working, how do I config mx record for cloudflare
riadipsctry to turn off the Proxy status if it is turned on.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,531
Points
523

Reputation:

try to turn off the Proxy status if it is turned on.
Zer01nebut what has cloudflare now to do with the configured SMTP server, will this be blocked by Cloudflare? If yes how could it then be working with IPS?

I'm totally confused
 

riadipsc

Member
Registered
Joined
Jun 22, 2023
Messages
14
Points
3

Reputation:

Maybe when I checked Cloudflare was off cause I can send mail with my default server smtp And if I'm making this confusion then sorry but I can send mail now. What is Cloudflare spectrum and how to enable this.
 
Top