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: General / Classic ASP versions(v3.4.XX)
 Mail Sending Problem
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Patterns
New Member

United Kingdom
63 Posts

Posted - 04 May 2005 :  11:36:01  Show Profile  Visit Patterns's Homepage
My server requires SMTP Authentication to send email so my users with the domains like hotmail or yahoo are not getting any mails for forum posting (Even they are subscribed).

I researched a bit and found that if domain is on the same server then I get the mail and if it is not on the same server then they don't receive mails.

Can any body explain what is the work around of this problem? I don't want to TURN OFF SMTP Authentication from my server.

J. Patterns
http://superfreehosting.com
http://enoise.net

asanz
Starting Member

USA
14 Posts

Posted - 04 May 2005 :  12:17:46  Show Profile
I'm having the same problem, and I posted the info that I receive here: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=57269#317384

Do you get any error emails in your forum administrator inbox... I get a ton of delays and, eventually failures...

Dre...
Go to Top of Page

Patterns
New Member

United Kingdom
63 Posts

Posted - 06 May 2005 :  12:01:48  Show Profile  Visit Patterns's Homepage
No I am not getting any errors in my inbox. Just the mail is not going however if I set the user email as of another domain e.g (user@superfreehosting.com) then mail is received successfully from admin@enoise.net.

This mean mails are generating just fine and it is just the mail server who is not sending.

My question is that which file I need to edit and include the SMTP Authentication code. I guess there are similar lines of codes to write your username, password and domain in code. (As I stated earlier I am using SMTP Auth so I guess I am right)

Any Ideas??.

Asanz, is your problem resolved or not??? It seems to be that you are still waiting for solution from senior members.

P.S: I am using Mail Enable Professional (http://mailenable.com) version.

J. Patterns
http://superfreehosting.com
http://enoise.net
Go to Top of Page

Patterns
New Member

United Kingdom
63 Posts

Posted - 06 May 2005 :  12:23:45  Show Profile  Visit Patterns's Homepage
Well, I think my problem is resolved now. As I said that I am using Mail Enable so I searched that site and found a article http://mailenable.com/kb/Content/Article.asp?ID=me020044 and now able to send PM to other members now. I still have to check the subscription things and I will keep you updated on the same.

Asanz, I guess you check the article related to exchange and I am sure you will be able to find some solution.

J. Patterns
http://superfreehosting.com
http://enoise.net
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 06 May 2005 :  13:41:05  Show Profile  Visit HuwR's Homepage
Patterns,

you should be able to set you web servers IP as a trusted IP and it should then relay without needing authentication
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 06 May 2005 :  20:05:13  Show Profile  Visit Gremlin's Homepage
usually localhost is added as an allowed host on a default mailenable install as I recall, in your SMTP Server, are you specifiying "localhost" ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Patterns
New Member

United Kingdom
63 Posts

Posted - 10 May 2005 :  09:26:57  Show Profile  Visit Patterns's Homepage
I don't know how localhost was not in the list. Now I added my server IP's list + 127.0.0.1 in trusted IP's. It is working very fine now. Thanks for you people help.

J. Patterns
http://superfreehosting.com
http://enoise.net
Go to Top of Page

dubosegriffin
Starting Member

USA
22 Posts

Posted - 12 May 2005 :  08:31:32  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
I am trying to set up the email server for gmail. I am having no luck.

DuBose
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 12 May 2005 :  08:58:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
dubosegriffin,

I think gmail uses different ports and the connection must be secure. It would probably be easier to use an email address supplied with your hosting account and set the reply to address as your gmail one.


Edit:

Gmail do have different ports than normal - http://gmail.google.com/support/bin/answer.py?answer=13276

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.

Edited by - Podge on 12 May 2005 09:01:29
Go to Top of Page

dubosegriffin
Starting Member

USA
22 Posts

Posted - 13 May 2005 :  07:32:51  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
So if it has different ports, does this make it impossible to set up the email server using Gmail. I would assume so.

DuBose
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 13 May 2005 :  08:47:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
It depends on the mail component you're using. A lot of the free ones won't have that functionality.

I know its possible to set a port if you're using CDOSYS

objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465

Its the secure part that I think will present the problem. If you're on Windows 2003 I'll look into CDOSYS for you. At the end of the day it will be easier just to use a mail account with standard ports not requiring a secure connection to send the email. You can still set your gmail address as the reply to address.

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 - 13 May 2005 :  08:50:22  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Well whaddyaknow.

I think you just have to set the port and use smtp.gmail.com as the mail server (to avoid Certificate mismatch errors) and its automaticcally secure.

Let me know if it works.

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

dubosegriffin
Starting Member

USA
22 Posts

Posted - 13 May 2005 :  20:44:23  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
I do not know how to set the port. There is nothing in the admin options or email server set up allowing you to do this.
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 14 May 2005 :  05:15:47  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
You have to edit inc_mail.asp but first of all you need to know which email component are you using?

If you're using CDOSYS you uncomment the three lines in inc_mail.asp under case "CDOSYS"
and edit them to include your email address and password (for authentication with gmail's server)

and add this line also which will set the port.

objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465

IF you are using cdosys it will look something like this

case "cdosys"
Set iConf = Server.CreateObject ("CDO.Configuration")
Set Flds = iConf.Fields

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "you@gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
Flds.Update

Set objNewMail = Server.CreateObject("CDO.Message")
Set objNewMail.Configuration = iConf

'Format and send message
Err.Clear

objNewMail.To = strRecipients
objNewMail.From = strSender
objNewMail.Subject = strSubject
objNewMail.TextBody = strMessage
On Error Resume Next
objNewMail.Send
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if

You would also have to set the mail server in the Email Config area to smtp.gmail.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

dubosegriffin
Starting Member

USA
22 Posts

Posted - 14 May 2005 :  07:50:20  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
ok we have to back up. Lets just start this by saying I am completely ignorant about a few things.

1. I just assumed that if I turn on email it would work.
2. What are JMail, ASPEmail and CDOSYS(IIS 5/5.1/6)?
3. How do I know which one to select?
4. Do these have to be installed on my server?

Once I get understand this, then I can move forward.

AS far as the last response to my question, I notice that the port number that you are using is different from the port number that gmail tells you to use to configure your outgoing mail server. Is the port number that you gave me correct or should I use the one I am using for my outgoing mail server?

Thank you for your help. I am following you just not sure about the above.

DuBose
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 14 May 2005 :  07:58:57  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
According to Gmail the port is 465 - http://gmail.google.com/support/bin/answer.py?answer=13276

1. It may. More often than not it doesn't for one reason or another.
2. They are email components used to send mail to your mail server from an asp page. Select CDOSYS if you can in the Email Config area.
3. Some are better than others. I like CDOSYS because it supports authentication for free. A lot of the other components require you to purchase a pro version of the component before you can supply a username and password to authenticate.
4. Yes. More than likely, if you are taking that list from the Email Config area they are are already installed.

Set your component to CDOSYS in the Email config area.
Make the changes to inc_mail.asp that I have suggested above
Upload inc_mail.asp to your server and test it.
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
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07