Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Jun 2017, 13:17
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Question smtp peer setting

hi guys
I use php 5.6 so by default it sets verification of SSL certificate as true
I need to make it false
I found a code to set it in phpmailer.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

How can I do it in vbulletin?
should I make change in class_mail.php file?
Reply With Quote
  #2  
Old 01 Jun 2017, 13:35
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
If you want to use SMTP in vBulletin instead of using the local sendmail/mail function of your server, then I'm afraid it's not possible.
vBulletin makes use of fsockopen when SMTP is used, which has no option to disable certification verification.

Of course you can make modifications to /includes/class_mail.php and add something like this
http://i.justrealized.com/2009/allow...and-fsockopen/
https://stackoverflow.com/questions/...when-using-tls
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 01 Jun 2017, 14:09
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Originally Posted by Dave View Post
If you want to use SMTP in vBulletin instead of using the local sendmail/mail function of your server, then I'm afraid it's not possible.
vBulletin makes use of fsockopen when SMTP is used, which has no option to disable certification verification.

Of course you can make modifications to /includes/class_mail.php and add something like this
http://i.justrealized.com/2009/allow...and-fsockopen/
https://stackoverflow.com/questions/...when-using-tls

thanks for reply

I used some code that learned from here:
https://www.vbulletin.com/forum/foru...ith-php-5-6-11


this code worked for me:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


the above code must replace to this code in line 756:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[HTL] & [Normal] Setting Varname Next to the Setting Title. Link14716 vBulletin 3.0 Full Releases 6 15 Jan 2004 15:26



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:18.

Layout Options | Width: Wide Color: