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
 members unable to send mails..
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

benny2
Starting Member

7 Posts

Posted - 29 November 2005 :  12:11:06  Show Profile
..but not the forumadmin(me),he can send mails.
and members who forgets theire passwords allso gets mail.
and the signup mail, when register allso works for the members.
I just cant figure it out.
im using jmail 4.x

anyone familiar with this?
brds




Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 29 November 2005 :  12:16:58  Show Profile
Are they receiving any error messages when they attempt to send e-mails to each other?


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

benny2
Starting Member

7 Posts

Posted - 29 November 2005 :  12:53:53  Show Profile
no they dont, just a message that the mail has been sent.
and by the way, they cant sent to admin either, looks like its just admin that can send emails

Edited by - benny2 on 29 November 2005 12:55:21
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 November 2005 :  14:26:31  Show Profile  Send ruirib a Yahoo! Message
Check with your host whether the email server is configured to allow relaying.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 29 November 2005 :  14:40:08  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
It sounds to me like they have the mail server setup to allow users from your domain to relay mail (not very secure) rather than using user authentication or whitelisting your i.p. address.

User authentication is probably the most secure but you need either CDOSYS (Free with Windows 2003), JMail (Paid) or AspEmail (Paid) to use it. Does your host have documentation on sending email?


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

benny2
Starting Member

7 Posts

Posted - 29 November 2005 :  15:04:36  Show Profile
my host has:
cdo (incl.documentation&some ex codes given)
w3 JMail Pro v4.4(incl.documentations&some ex codes given)

maybe i should try cdosys instead,(if it is more secure)?
i dont know the difference between those two?





Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 29 November 2005 :  16:07:14  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Looks like you have the paid version of Jmail.

Edit inc_mail.asp and include a valid username and password on the mail server (usually the email address and password that your host would have given you)

e.g.



	case "jmail4"
		Set objNewMail = Server.CreateObject("Jmail.Message")
		'objNewMail.MailServerUserName = "myUserName@mydomain.com"
		'objNewMail.MailServerPassword = "MyPassword"
		objNewMail.From = strSender
		objNewMail.FromName = strFromName
		objNewMail.AddRecipient strRecipients, strRecipientsName
		objNewMail.Subject = strSubject
		objNewMail.Body = strMessage
		on error resume next '## Ignore Errors
		objNewMail.Send(strMailServer)
		If Err <> 0 Then 
			Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
		End if


Don't forget the two apostrophe's to the left of those two lines.

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

Podge
Support Moderator

Ireland
3776 Posts

Posted - 29 November 2005 :  16:09:38  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Nearly forgot. Make sure you select JMail4 in the Email Server config (not JMail).

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

benny2
Starting Member

7 Posts

Posted - 29 November 2005 :  16:26:44  Show Profile
thank you podge very much, but your instructions are the same as i've allready used.

however i did test cdosys, and nothing relatet to emails seems to work with that.

is cdosys better secured ?(if yes, perhapse i should try and make that work instead)

brgds

Edited by - benny2 on 29 November 2005 16:32:07
Go to Top of Page

benny2
Starting Member

7 Posts

Posted - 29 November 2005 :  16:37:05  Show Profile
below is the ex-code the host is given if i wants to use cdosys, but i do not see the logic of that.
if this is useable, how can i edit this into inc_mail ?


send.html
<html>
<head><title>Send me a message</title></head>
<body>
<form action="send.asp" method="post">
<br/>Send me a message:<br/>
<textarea name="body" cols="40" rows="15"></textarea>
<br/>
<input type="submit" value="Send">
</form>
</body>
</html>


send.asp
<% @ LANGUAGE = VBSCRIPT %>
<html>
<body>
<%
set mail = CreateObject("CDO.Message")

' Specify the sender address
' - the address must exist on the hosting account
mail.From = "sender@your-domain.com"

' Specify the address of the receiver
mail.To = "recipient@your-domain.com"

' Specify a subject
mail.Subject = "Message from my homepage"

' The email body
mail.TextBody = Request.Form("body")

mail.Send

%>
</body>
</html>

Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 29 November 2005 :  17:36:19  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Test the CDOSYS code above and if it works then use CDOSYS on your forums.

Neither the cdosys or jmail components are better or more secure in this instance. Your host needs to look at the rules they have set for relaying. Ask them to look at the mail server logs to see why email is not being sent. In my view, an authenticated user with a known i.p. address (your website) should be allowed to send email to any other domain. Your host may have a different view though their code example above would seem to suggest that they have less strict email policies.

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

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 30 November 2005 :  05:12:14  Show Profile  Send pdrg a Yahoo! Message
Question for ythe knowledeable - is CDOSYS the same as CDONTS? Is it possible CDO refers to CDONTS instead of CDOSYS on the hosts' website?

just a thought
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 30 November 2005 :  05:51:22  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
You're right. Thats not a CDOSYS example, its CDONTS. They're not the same and CDONTS doesn't support authentication.

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

benny2
Starting Member

7 Posts

Posted - 30 November 2005 :  06:51:01  Show Profile
that is very strange, my host says they do not support cdonts, but do supports cdo ?.
I think i should use the jmail instead since allmost everything is working with that, as I said earlyer the only thing not working is members cant send mails but the administratoruser can.
below is the ex code from my host (for jmail)

send.html
<html>
<head><title>Send me a message</title></head>
<body>
<form action="send.asp" method="post">
<br/>Send me a message:<br/>
<textarea name="body" cols="40" rows="15"></textarea>
<br/>
<input type="submit" value="Send">
</form>
</body>
</html>


send.asp
<% @ LANGUAGE = VBSCRIPT %>
<html>
<body>
<%
set msg = Server.CreateOBject("JMail.Message")

' Specify the sender address
' - the address must exist on the hosting account
msg.From = "sender@your-domain.com"
msg.FromName = "My homepage"

' Add email address and name of the receiver
msg.AddRecipient "recipient@your-domain.com", "your name"

' Specify a subject
msg.Subject = "Message from my homepage"

' The email body
msg.Body = Request.Form("body")

' Username and password
Msg.MailServerUserName = "sender@your-domain.com"
Msg.MailServerPassWord = "password"

' Send the mail (specify which mail server to use)
if (not msg.Send("mail.your-domain.com")) then
Response.write "<pre>" & msg.log & "</pre>"
else
Response.write "Mail successfully sent!"
end if
%>
</body>
</html>

since I am a very new doing asp, I dont know if I should replace this code into inc_mail ? or what to edit into inc.mail ?

Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 30 November 2005 :  07:41:27  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Snitz already uses code very similar to that. It has to be a problem with the way your host has relaying setup on the mail server.

The following is based on guesswork.
Forum admin can send mails (using an address on your domain presumably)
Members who forget passwords receive email (from an address on your domain presumably)
Signup emails are sent (from an address on your domain presumably)

The problem occurs when the sending email address is not from your domain. Ask your host if authenticated users should be allowed to send emails to addresses outside of your domain.

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

benny2
Starting Member

7 Posts

Posted - 03 December 2005 :  11:58:56  Show Profile
so, i asked my host if authenticated users should be allowed to send emails to addresses outside of my domain.
i've been in contact with 3 supporters and 2 of them likes to throw this stupid script to my face and the third one was positive, he would at least take a look at the inc_mail file.
but I havent heard back from him yet.

so if we asume that authenticated users should be allowed to send emails to addresses outside of my domain

what then ?

ps. my host havent answered the question about reaying setup.
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07