vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Howto: Enable SMTP for vB 3.0.2/3 (https://vborg.vbsupport.ru/showthread.php?t=67294)

owner 12-04-2004 06:16 PM

Quote:

Originally Posted by owner
I get this error : Parse error: parse error, unexpected '@', expecting ',' or ';' in /home/***/public_html/includes/mail.php on line 96

var $smtpHost = "mailserver.server.info";
var $smtpPort = 25;
Line 96 var $smtpUser = admin@site.com;
var $smtpPass = *****;
var $smtpSocket = null;

---------

Still StuCK cant send mails nuthing happening .. plz help me on this one will be very greatful :)

bi11i 12-10-2004 09:57 PM

I also was getting the parser error using vb v3.0.3 and Argosoft Mail Server Pro (v1.8.7.0). This fix did not work for me (in fact, it looks like it's designed for an earlier version of vB.)

I ultimately had to use full quotations around my smtpuser field for it to work. I was unable to use the $vbphrase[webmasteremail].

Code:

var $smtpHost = "mailserver.server.info";
var $smtpPort = 25;
var $smtpUser = "admin@site.com";
var $smtpPass = *****;
var $smtpSocket = null;

It's too bad this isn't supported by default - I'm super curious why it's not. Now my poor little board is hacked.

Thanks for whoever it was that finally led me in the right direction...

Gary King 12-21-2004 05:08 PM

Nice mod, but I don't see why I get this errormessage() error like some other people in this thread are getting :(

Gary King 12-21-2004 06:11 PM

Quote:

Originally Posted by Illuvatar
Oh jeez.......

Apologies Zach!! :speechless:

Since I didn't actually do the coding I figured it would be less confusing than just posting the changes, but he labled all of his changes so it was easy enough for me to do. I've gone through the two files and have pieced it together the best I can and attached ONLY the changes.

Better? I Really hope this helps!

Sorry for stepping out of bounds. *Considers his hands properly slapped*

Your mod causes some parse errors.

bi11i 12-21-2004 07:24 PM

I fixed my parsing errors by encapsulating my email address in double quotations.

Gary King 12-21-2004 09:48 PM

Quote:

Originally Posted by bi11i
I fixed my parsing errors by encapsulating my email address in double quotations.

That's not what I'm talking about.

Anyways, I can't seem to get this to work :(

I've contacted Jelsoft and they haven't replied back in 3 hours or so yet as well.

hasan2k 12-22-2004 09:55 PM

Quote:

Originally Posted by Illuvatar
Oh jeez.......

Apologies Zach!! :speechless:

Since I didn't actually do the coding I figured it would be less confusing than just posting the changes, but he labled all of his changes so it was easy enough for me to do. I've gone through the two files and have pieced it together the best I can and attached ONLY the changes.

Better? I Really hope this helps!

Sorry for stepping out of bounds. *Considers his hands properly slapped*

Your FUNCTIONS.php change cause T string error. I followed your txt file and I think it needs to be checked for the {} signs

Zachery 12-22-2004 10:05 PM

Quote:

Originally Posted by Gary King
That's not what I'm talking about.

Anyways, I can't seem to get this to work :(

I've contacted Jelsoft and they haven't replied back in 3 hours or so yet as well.

We wont either this is an unsupported option

bi11i 12-23-2004 12:58 AM

then what ARE you talking about? your post isn't all that specific, what do you expect?
Quote:

Originally Posted by Gary King
That's not what I'm talking about.

Anyways, I can't seem to get this to work :(

I've contacted Jelsoft and they haven't replied back in 3 hours or so yet as well.


hasan2k 12-23-2004 06:46 AM

This hack is so important for so many of us.


All times are GMT. The time now is 01:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01497 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete