Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Howto: Enable SMTP for vB 3.0.2/3
Zachery's Avatar
Zachery
Join Date: Jul 2002
Posts: 11,440

 

Ontario, Canada
Show Printable Version Email this Page Subscription
Zachery Zachery is offline 07-16-2004, 10:00 PM

I am putting this in here once it has been confirmed working ill ask it to be moved.

I offer no support, enabling SMTP will be considered hacking, thus why it is here.

Thanks to Chris on the vB team for the help :0
Attached Files
File Type: txt smtp.txt (691 Bytes, 697 views)
Reply With Quote
  #12  
Old 08-03-2004, 03:05 PM
MrToasty MrToasty is offline
 
Join Date: May 2004
Location: Adelaide AU
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any notable advantages to this function over the use of php mailing?
Reply With Quote
  #13  
Old 08-23-2004, 06:20 PM
dlopan dlopan is offline
 
Join Date: Aug 2004
Location: albuquerque
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack. Works great.
Reply With Quote
  #14  
Old 08-24-2004, 03:29 PM
TRANCEBUDHA TRANCEBUDHA is offline
 
Join Date: May 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 08-24-2004, 03:33 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 08-24-2004, 03:49 PM
TRANCEBUDHA TRANCEBUDHA is offline
 
Join Date: May 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

THANKS A LOT
Reply With Quote
  #17  
Old 09-03-2004, 11:38 AM
the wiz the wiz is offline
 
Join Date: Jul 2004
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Got it working. Now people on AOL can get e-mail notifications and I can stop getting returned mail notices. Thanks.
Reply With Quote
  #18  
Old 09-05-2004, 08:10 PM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!!
Reply With Quote
  #19  
Old 09-05-2004, 08:48 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 09-05-2004, 09:00 PM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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];
Reply With Quote
  #21  
Old 09-05-2004, 10:04 PM
the wiz the wiz is offline
 
Join Date: Jul 2004
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06035 seconds
  • Memory Usage 2,322KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete