Welcome, Guest. Please Login or Register.
September 27, 2024, 10:28:54 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Forum not sending mail « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Forum not sending mail  (Read 847 times)
Pamela_S
Noobie
*
Posts: 48


Forum not sending mail
« on: March 20, 2003, 03:28:14 PM »
Reply with quote

Hi,

I am running YaBB SE 1.5.0. I just moved over from another server. Everything appears to be working fine EXCEPT...I am unable to send email to my members, no email is sent to new members and I am unable to email a topic to anyone.

I am not getting an error message, the email just doesn't show up.

I've checked settings.php and everything looks ok. This is what I have:

$mailprog = "/usr/sbin/sendmail";    # Location of your sendmail program
$smtp_server = "127.0.0.1";    # SMTP-Server
$webmaster_email = "[email protected]";    # Your e-mail address.
$mailtype = 0;    # 0 - sendmail, 1 - SMTP

I checked and the path to sendmail is correct. Any thoughts on what may be wrong?

Thanks in advance-
Pam
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Forum not sending mail
« Reply #1 on: March 20, 2003, 03:34:02 PM »
Reply with quote

Do people recieve e-mail when registering?  If you e-mail members do they get anything.

Also please see my sticky thread on thi forum and upgrade to 1.5.1.
Logged

Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #2 on: March 20, 2003, 03:45:43 PM »
Reply with quote

Yes, I did just upgrade to v. YaBB SE 1.5.1RC1 but that is not helping.

No one is receiving an email when registering. When I email members they do not receive anything. I also cannot send a topic to anyone via email.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Forum not sending mail
« Reply #3 on: March 20, 2003, 03:53:31 PM »
Reply with quote

Quote from: Pamela_S on March 20, 2003, 03:45:43 PM
Yes, I did just upgrade to v. YaBB SE 1.5.1RC1 but that is not helping.

No one is receiving an email when registering. When I email members they do not receive anything. I also cannot send a topic to anyone via email.

There is an option in Installed 'Mods' Settings and Options concerning smtp or sendmail.  Make sure it's set correctly.

Also, please provide a link.

-[Unknown]
Logged
Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #4 on: March 20, 2003, 04:19:30 PM »
Reply with quote

In the file modsettings.php, I found these lines:

$modSettings['mail_type'] == 'sendmail' ? ' selected="selected"' : '');

$smtpDisabled = ($modSettings['mail_type'] == 'sendmail' ? ' selected="selected"' : '');

I am not sure if they are correct...

The url for this baord is: http://www.conservativex.com/yabbse/index.php
Logged
Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #5 on: March 20, 2003, 04:29:44 PM »
Reply with quote

I should also add that the forum was sending mail just fine before I upgraded to YaBB SE 1.5.0
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Forum not sending mail
« Reply #6 on: March 20, 2003, 05:27:50 PM »
Reply with quote

Quote from: Pamela_S on March 20, 2003, 04:29:44 PM
I should also add that the forum was sending mail just fine before I upgraded to YaBB SE 1.5.0
was that before or after you moved to a new server?

u can also ask the host/server admin about sendmail/smtp settings that they provide
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #7 on: March 20, 2003, 05:33:27 PM »
Reply with quote

Quotewas that before or after you moved to a new server?

Both. The forum was sending mail fine on the old server.
When I first moved over to the new server, the forum was also sending mail fine. After I upgraded to YaBB SE 1.5.0, I encountered this problem.

Quoteu can also ask the host/server admin about sendmail/smtp settings that they provide

I'm not sure what you mean by this.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Forum not sending mail
« Reply #8 on: March 20, 2003, 09:28:47 PM »
Reply with quote

Okay, you misunderstood me.

First, use 1.5.1.... it's better in every wayTM.

Second, go to the admin panel, select "Installed 'Mods' Settings and Options", scroll down to SMTP and make sure it's set either to sendmail or with the correct information.

The settings in Settings.php NO LONGER MATTER.  And, editing ModSettings.php isn't what i meant - the settings are stored in your SQL datatabase.

-[Unknown]
Logged
Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #9 on: March 20, 2003, 10:35:15 PM »
Reply with quote


Thanks.

QuoteSecond, go to the admin panel, select "Installed 'Mods' Settings and Options", scroll down to SMTP and make sure it's set either to sendmail or with the correct information.

Yep. I've already tried that. I've tried setting it with both options and the same thing happens each time. No error message but the email never arrives.

QuoteThe settings in Settings.php NO LONGER MATTER.  And, editing ModSettings.php isn't what i meant - the settings are stored in your SQL datatabase.

hmmm...Should I be looking for something that may be wrong  in the db?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Forum not sending mail
« Reply #10 on: March 20, 2003, 10:47:40 PM »
Reply with quote

Try replacing the sendmail function in Subs.php with this:

function sendmail($to, $subject, $message, $from = null)
{
   global $webmaster_email, $mbname;

   $to_array = is_array($to) ? $to : array($to);

   $subject = un_html_entities(stripslashes($subject));
   $message = stripslashes($message);
   $headers = 'From: "' . addslashes(isset($from) ? $from : $mbname) . '" <' . $webmaster_email . ">\r\n";
   $headers .= 'Return-Path: ' . $webmaster_email;

   foreach ($to_array as $to)
      $mail_result = mail(str_replace(array("\r", "\n"), array('', ' '), $to), str_replace(array("\r", "\n"), array('', ' '), $subject), $message, $headers);

   return $mail_result;
}


Basically I ripped out SMTP.  Now it should be doing it via. via Sendmail.

-[Unknown]
« Last Edit: March 21, 2003, 01:00:20 AM by [Unknown] » Logged
Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #11 on: March 20, 2003, 10:53:24 PM »
Reply with quote

Thanks for your help. I'll give it a shot and report back.
Logged
Elden
Noobie
*
Posts: 18


He's a good egg.

ICQ - 422430Elden2112 WWW
Re:Forum not sending mail
« Reply #12 on: March 20, 2003, 11:03:07 PM »
Reply with quote

I had a similar issue when I converted from Y1G.

I self-host though, which means I also run my own mailserver.  I prefer using SMTP myself, but that is only because I've had problems using sendmail.

Bottom line for me though was:  either YSE has problems with authenticated SMTP or I have problems with it on my own mailserver.  Removing the SMTP password fixed it for me, but your hosting service probably doesn't allow unauthenticated SMTP connections.  I'd give it a try though anyway.
Logged

Visit the Elden.Org Forums.
Pamela_S
Noobie
*
Posts: 48


Re:Forum not sending mail
« Reply #13 on: March 20, 2003, 11:17:15 PM »
Reply with quote

Thanks Unknown, that did the trick!  :D

Somewhat off-topic BUT...
does anyone know how to change the default greeting at the bottom of the email you send to members from the admin panel?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Forum not sending mail
« Reply #14 on: March 20, 2003, 11:22:50 PM »
Reply with quote

Quote from: Pamela_S on March 20, 2003, 11:17:15 PM
Somewhat off-topic BUT...
does anyone know how to change the default greeting at the bottom of the email you send to members from the admin panel?

english.lng
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Forum not sending mail « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.078 seconds with 20 queries.