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
 Configuring Email (ASPEmail)? Not being sent?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

DTFan
Starting Member

5 Posts

Posted - 28 June 2005 :  17:50:34  Show Profile
OK. I admit up front I am a newbie. But I thought I had done everything correctly. I have an account with a Hosting Reseller. They have ASP, ASP.NET, SQL Server, MySQL, PERL, etc. They also support Persists ASPEmail, ASPSmartMail, W3Jmail, SMTP : POP3 : IMAP4 : HTTPMail

So, I figured I would use the ASPEmail method for sending email (verification emails when users want to sign up). Oh, sorry. I've got the forum set up (I can post, edit, etc. as Admin). I've added categories, forums, sorted them, etc. No problem. But, when I try to sign up as a new user, it never sends the email.

The hosting provider (who have yet to answer my email or return my call) also provides web based email. To access that, you type in "mail.mydomainname.com". Then, to check your email, you type: username: "username@mydomain.com" password: "mypassword". Works fine.

So, I read the forums here and thought I was on the right page. I opened up the inc_mail.asp file (using Araneae), and I edited the ASPEmail case:

[quote

case "aspemail"
Set objNewMail = Server.CreateObject("Persits.MailSender")
objNewMail.FromName = strFromName
objNewMail.From = strSender
objNewMail.AddReplyTo strSender
objNewMail.Host = strMailServer
objNewMail.AddAddress strRecipients, strRecipientsName
objNewMail.Subject = strSubject
objNewMail.Body = strMessage
objNewMail.Username = "username@mydomain.com" 'Added this line
objNewMail.Password = "mypassword" 'Added this line
on error resume next '## Ignore Errors
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

[/quote]

I don't know if that's enough information or not. I'm new to programming and ASP so I'm kind of shooting in the dark here. Any other suggestions? Should I try using something other than ASPEmail?

Any and all help is greatly appreciated and thank you in advance for any/all help you can give.

DTFan

PS - Thanks, by the way, for making a forum/discussion system that is so easy to install and get started with. I haven't, of course, played with any of the mods but what I've seen so far ... very impressive. Thanks to all involved.

Edited by - ruirib on 30 June 2005 18:01:15

StephenD
Senior Member

Australia
1044 Posts

Posted - 28 June 2005 :  17:55:03  Show Profile  Send StephenD a Yahoo! Message
You might need to change the objNewMail.Host = to whatever your mailserver address is eg. "mail.sitegeneral.com". And use your username without the @mydomain.com.

Edited by - StephenD on 28 June 2005 17:56:08
Go to Top of Page

DTFan
Starting Member

5 Posts

Posted - 30 June 2005 :  17:29:46  Show Profile
quote:
Originally posted by StephenD

You might need to change the objNewMail.Host = to whatever your mailserver address is eg. "mail.sitegeneral.com". And use your username without the @mydomain.com.



Well, I tried that but still no luck. I changed the objNewMail.Host to "mail.mydomain.com" and then tried both:
objNewmail.Username = "username@mydomain.com"
and
objNewMail.Username = "username"

Neither worked. Is there something else that I should be trying? I'm sorry this is such a newbie question but I am totally new to ASP and mail servers. Heck, I was surprised that it (the forum itself) worked the first time I tried it.

Any and all suggestions and idea's would be greatly appreciated and thank you in advance for any help you can give.
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 30 June 2005 :  17:42:51  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Are you sure that your host is using the paid version. The free one doesn't support authentication.
Does you host have any documentation on sending email? or examples?

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

DTFan
Starting Member

5 Posts

Posted - 30 June 2005 :  18:44:19  Show Profile
quote:
Originally posted by Podge

Are you sure that your host is using the paid version. The free one doesn't support authentication.
Does you host have any documentation on sending email? or examples?



No, unfortunately this host is pretty pathethic when it comes to documentation and examples (and customer service). I have the strangeest feeling that it's me doing something stupid. I know it's not the software because everything else is working OK. And the web based email stuff is working (meaning browser email sending and receiving).

I'm going to try removing the software, then re-uploading and starting from scratch (with the exception of the database stuff). I might have missed a step somewhere along the lines. I'm HOPING it's like when you proofread your own work ... you end up missing stuff because your brain knows it's supposed to be there.

Regardless, the software is awesome.

But when I do re-try I'll try it with password and without. Thanks for the suggestion (I'm thinking that's what you meant by authentication?)
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 30 June 2005 :  19:09:00  Show Profile  Send StephenD a Yahoo! Message
If you want to rule out the coding, drop me an email and I'll give you a temp mail account on my host to test with. That way you can go back to your host and give them more information.
Go to Top of Page

DTFan
Starting Member

5 Posts

Posted - 01 July 2005 :  12:30:23  Show Profile
quote:
Originally posted by StephenD

If you want to rule out the coding, drop me an email and I'll give you a temp mail account on my host to test with. That way you can go back to your host and give them more information.



OK. Now I've hit the point of total confusion. I thought I had it figured out last night. I redownloaded the software, unzipped it and made a copy of the files (one to work on, one to leave alone). Then I edited config and inc_mail (as before). And I thought I had figured out the problem. It appeared that last time I was uploaded the copied version of inc_mail (not the one I was actually editing). I know, I'm an idiot. So last night I did it correctly, and, I signed up a new user. The new user was sent an email that they had to reply to (that user was me, of course :) ). Anyway, it worked last night but I had one problem. When I (as admin), tried to send the user an email, I couldn't because my email settings were listed as something like "you@yourdomain.com" (something like that).

So, because it was late and I had a doctors appt early today, I went to bed and figured I'd tackle it today. But now, I can't sign anyone up. The emails are not getting sent today. My email (as admin) is still the same as it was yesterday ("you@yourdomain.com"). I tried to edit that in my Profile but then it said that for the changes to take effect I have to reply to the email it sent me. But, of course, I'm not getting that email.

So it's got to be something with the email settings. What I can't understand is why it worked last night (because I still have a copy of the confirmation email it sent me) but today is no go. I've logged into the browswer based email for my ISP and both sent and received a message so the mail server is running.

Any idea's? I can post my ASPEmail Case from the inc_mail.asp file if neccessary. Basically it's what I posted the other day only I've added the objNewMail.Host field (as suggested earlier).

I know how new I am but now I'm completely lost.

Any help? Oh, and StephenD, if you can set me up with a temp account for testing, that would be great. I'll send you and email and we can try that also.
Go to Top of Page

DTFan
Starting Member

5 Posts

Posted - 01 July 2005 :  16:49:58  Show Profile
OK. I guess there is a problem with mail queue (spelling?). The messages were sent out but it took awhile for me to get them. By "awhile" I'm talking about an hour to an hour and a half. Now last night the message went out and was received almost instantly. So it's either a mail queue problem or for some reason the mail server was slammed today. That could also be the problem as the host is a reseller so the email server is handling multiple domains. I guess I'll have to edit the message that appears to include some kind of warning that it might take several hours for them to receive their confirmation email.

Anyway, just wanted to let everyone know that it worked. Thanks again for all the help and suggestions.

Now I get to try and tackle applying a "mod." Something tells me I'll be back here before too long :)

Thanks again for a great software package.
Go to Top of Page

hbez
Starting Member

South Africa
11 Posts

Posted - 06 July 2005 :  06:36:42  Show Profile  Send hbez an ICQ Message
Have you checked what version of MS Server your host is using. Server 2003 does not use CDONTS for handling email.
Jimmy
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07