i get this error when i am sending an email

warning: require_once(modules/smtp/phpmailer/class.phpmailer.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\BitNami Drupal 6 Stack\apps\drupal\htdocs\modules\smtp\smtp.module on line 252.

and now when i am signing up a new member to the site. Where that error was supposed to be ended up just loading a blank page now

Comments

vm’s picture

looks like it has something to do with the smtp.module. Have you set it up properly per any README.txt or INSTALL.txt file included in the module folder?

flashkickhero’s picture

well it was weird because the drupal combo that i downloaded didnt come with smtp so i redownloaded at drupal.org. is there a way i can get a brand new smtp file because i keep getting this issue if i redownload it. i looked on the net on how to setup googles smtp with the special port and ssl and all the login information and it all say active but i get this error still when i send it. This is the only thing i need to finish my site. i will double check the readme but i think i set it up right. any other suggestions or modules to use instead aside from phpmailer i get the same error

vm’s picture

no idea what to tell you, I use drupal downloaded from drupal.org. I assume you are using the acquia installer package?

checking the smtp.module issue queue for similar issues may be fruitful.

flashkickhero’s picture

i am using bitnami drupal 6 stack. I think i may have found something but it is a little confusing to me. The readme said i may need a openssl package installed onto my server but i am not sure where to put it. If it is a module great if not then i guess i hope a readme comes with it. i really hope that is the issue because as i was saying it is the only thing i need left and i thought it was the easiest thing to do since this is my first site i ever made with drupal.

thanks for posting by the way nobody answered to my last one that was directly on the smtp authentication area.

vm’s picture

pbarnett’s picture

Quoting from the module's INSTALL.txt file -

// $Id: INSTALL.txt,v 1.6 2008/07/06 13:49:15 oadaeh Exp $

NOTE: See the REQUIREMENTS in the README.txt file.

INSTALLATION INSTRUCTIONS
-------------------------
1. Copy the files included in the tarball into a directory named "smtp" in
your Drupal sites/all/modules/ directory.
2. Download the PHPMailer package (the URL is listed in REQUIREMENTS section
of the README.txt file) and place it in a directory named "phpmailer" in
your /sites/all/modules/smtp directory.
3. Login as site administrator.
4. Enable the SMTP Authentication Support module on the Administer -> Site
building -> Modules page.
5. Fill in required settings on the Administer -> Site configuration -> SMTP
Authentication Support page.
6. Enjoy.

Have you followed the instructions in 2. above?

If not, that will explain why the phpmailer class can't be found!

Pete.

flashkickhero’s picture

warning: require_once(modules/smtp/phpmailer/class.phpmailer.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\BitNami Drupal 6 Stack\apps\drupal\htdocs\modules\smtp\smtp.module on line 252.

flashkickhero’s picture

i got it. i had to do a lot of freaking circus loops haha

kbk’s picture

what the circus loops entailed?