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)

MrToasty 08-03-2004 03:05 PM

Any notable advantages to this function over the use of php mailing?

dlopan 08-23-2004 06:20 PM

Thanks for the hack. Works great.

TRANCEBUDHA 08-24-2004 03:29 PM

I Cant Download The File Of The Smtp.txt Of These Tread And I Want To Enable The Smtp Function Becuse I Have A Shared Host That Doest Change A Thing, I Dont Want To Change The Host Because They Dont Have A Bandwith Control.
I CAN SE ALL THE CODES BUT NOT THE TXT FILE AT THE BIGINNIG

Zachery 08-24-2004 03:33 PM

Quote:

Originally Posted by TRANCEBUDHA
I Cant Download The File Of The Smtp.txt Of These Tread And I Want To Enable The Smtp Function Becuse I Have A Shared Host That Doest Change A Thing, I Dont Want To Change The Host Because They Dont Have A Bandwith Control.
I CAN SE ALL THE CODES BUT NOT THE TXT FILE AT THE BIGINNIG

O.o take a deep breath and try clearing your cache and redownlioading the files

TRANCEBUDHA 08-24-2004 03:49 PM

Quote:

Originally Posted by Zachery
O.o take a deep breath and try clearing your cache and redownlioading the files


THANKS A LOT

the wiz 09-03-2004 11:38 AM

EDIT: Got it working. Now people on AOL can get e-mail notifications and I can stop getting returned mail notices. Thanks. :D

deb0 09-05-2004 08:10 PM

Inittally without trying your code, I would get this running VB diag:

SMTP: localhost
sendmail_from: me@localhost.com
sendmail_path: None


My hoster won't let me touch the php.ini.

I grabbed your script, followed it verbatim, and now I get this

Fatal error: Call to undefined function: errormessage() in H:\hshome\wiltechs\basementreview.com\forums\inclu des\mail.php on line 235

Here is my line 235

return errorMessage("Unexpected response from SMTP server");

help!!!!

Zachery 09-05-2004 08:48 PM

Quote:

Originally Posted by deb0
Inittally without trying your code, I would get this running VB diag:

SMTP: localhost
sendmail_from: me@localhost.com
sendmail_path: None


My hoster won't let me touch the php.ini.

I grabbed your script, followed it verbatim, and now I get this

Fatal error: Call to undefined function: errormessage() in H:\hshome\wiltechs\basementreview.com\forums\inclu des\mail.php on line 235

Here is my line 235

return errorMessage("Unexpected response from SMTP server");

help!!!!

Are you sure thats there by default? if you follow the directoions to the tooth they work just fine.

deb0 09-05-2004 09:00 PM

I am positive. I went further and added the vboptions part like so in the mail.php file:

var $smtpHost = "mail.myserver.com";
var $smtpPort = 25;
var $smtpUser = $vboptions[webmasteremail];
var $smtpPass = "password";
var $smtpSocket = null;

Now, I get this error:

Parse error: parse error, unexpected T_VARIABLE in H:\hshome\wiltechs\basementreview.com\forums\inclu des\mail.php on line 96


This is line 96 : var $smtpUser = $vboptions[webmasteremail];

the wiz 09-05-2004 10:04 PM

Put in an actual e-mail address instead of the vb code.


All times are GMT. The time now is 12:09 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.01440 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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