Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Mail Configuration
 email to complete registration never created/sent
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Avengeance
Starting Member

7 Posts

Posted - 26 May 2005 :  14:06:00  Show Profile
When trying to register as a new user on my forums, the email never gets sent. In fact, I'm not even sure an email file is being generated TO send.

I have MDaemon installed, and it's selected in the email config. I look on the MDaemon logs, and I see no attempted communcation of any kind that indicates the forum software is trying to send an email through MDaemon. What am I doing wrong?

Podge
Support Moderator

Ireland
3776 Posts

Posted - 26 May 2005 :  15:48:47  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message

In inc_mail.asp find where it says

	case "mdaemon"
		Set gMDUser = Server.CreateObject("MDUserCom.MDUser")
		mbDllLoaded = gMDUser.LoadUserDll
		if mbDllLoaded = False then
			response.write "Could not load MDUSER.DLL! Program will exit." & "<br />"
		else
			Set gMDMessageInfo = Server.CreateObject("MDUserCom.MDMessageInfo")
			gMDUser.InitMessageInfo gMDMessageInfo
			gMDMessageInfo.To = strRecipients
			gMDMessageInfo.From = strSender
			gMDMessageInfo.Subject = strSubject
			gMDMessageInfo.MessageBody = strMessage
			gMDMessageInfo.Priority = 0
			gMDUser.SpoolMessage gMDMessageInfo
			mbDllLoaded = gMDUser.FreeUserDll
		end if
		if Err <> 0 Then 
			Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
		end if


and change it to

	case "mdaemon"
                on error goto 0
		Set gMDUser = Server.CreateObject("MDUserCom.MDUser")
		mbDllLoaded = gMDUser.LoadUserDll
		if mbDllLoaded = False then
			response.write "Could not load MDUSER.DLL! Program will exit." & "<br />"
		else
			Set gMDMessageInfo = Server.CreateObject("MDUserCom.MDMessageInfo")
			gMDUser.InitMessageInfo gMDMessageInfo
			gMDMessageInfo.To = strRecipients
			gMDMessageInfo.From = strSender
			gMDMessageInfo.Subject = strSubject
			gMDMessageInfo.MessageBody = strMessage
			gMDMessageInfo.Priority = 0
			gMDUser.SpoolMessage gMDMessageInfo
			mbDllLoaded = gMDUser.FreeUserDll
		end if
		if Err <> 0 Then 
			Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
		end if

(insert the red line)

Try to send an email. If you get an error, post it here.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Avengeance
Starting Member

7 Posts

Posted - 26 May 2005 :  15:51:58  Show Profile
Tried that. No error.
If there was an error, the IF ERR <> 0... would have show n it.

Is there a list of properties for the gMDMessageInfo. and gMDUser. objects?
Go to Top of Page

Talie
New Member

95 Posts

Posted - 28 May 2005 :  13:52:45  Show Profile
I'm also having a problem with registration emails not being sent when I have the forum set "Restrict Registration" once admin has approved the registration, no email is sent .... regular registration works ok, users can email other users with no problem, password recovery works ok.... it's only when restrict registration is set that there seems to be a problem

UPDATE:

I found the answer to my problem here...

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=56802&SearchTerms=restrict+registration

i was clicking on the "Activate Account" link for individual menmbers, rather than ticking the box and using the administrator options !

..... which begs the question ..... what is the point of the link "Activate Account" if it doesn't let the user know they're approved??

Edited by - Talie on 28 May 2005 14:15:49
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 May 2005 :  07:24:33  Show Profile
It's there so you can manually activate an account should a member have problems doing so themselves.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Avengeance
Starting Member

7 Posts

Posted - 31 May 2005 :  08:35:05  Show Profile
Thanks, but that doesn't answer the question I'm posing.

Nothing that has to do with sending email is working.

I found a list of properties and methods for the mdaemon object here (http://files.altn.com/MDaemon/Release/MDCOM-API.html).

Basically, what's happening, is "nothing". The page seems to load OK (the page register.asp?mode=DoIt), no error is taking place, but the email that is supposed to get sent to the newly registered user to complete his registration is never getting spooled to MDaemon.

Anyone else using MDaemon for email? I'm running the web and email server on the same box, so this should be pretty simple.

Edited by - Avengeance on 31 May 2005 08:41:28
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 31 May 2005 :  08:48:53  Show Profile
quote:
Originally posted by Talie
Thanks, but that doesn't answer the question I'm posing.

quote:
Originally posted by Talie
..... which begs the question ..... what is the point of the link "Activate Account" if it doesn't let the user know they're approved??

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 31 May 2005 :  09:05:10  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
If the MDaemon dll doesn't work why don't you try to use another free email component like CDONTS, CDOSYS, AspEmail, JMail, etc.

The free versions of email components don't have authentication usually (CDOSYS on W2003 does) so you would have to configure your mail server appropriately.

If MDaemon is not absolutely necessary you could use one of these free mail servers http://www.mailenable.com http://www.smartertools.com

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Avengeance
Starting Member

7 Posts

Posted - 01 June 2005 :  09:26:58  Show Profile
I don't want to open my webserver up to abuse by installing other mail software that could allow relaying or hacking. I also need to keep the amount of stuff installed and running on the system to a minimum, for efficiency sake. I'm going to add another CASE to the SELECT in the INC_MAIL.ASP page, where I can write out the email contents to a file, and shell a program I have that can send mail much the same way Outlook Express does. I'm using the program elsewhere, and it works great.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07