ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 28th, 2002, 06:15 PM
markerdave markerdave is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Illinois, USA
Posts: 71 markerdave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Question Username and Password with CDONTS

Is it possible to include a username and password when sending an email with CDONTS?

Reply With Quote
  #2  
Old September 1st, 2002, 04:08 PM
rdoekes rdoekes is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Strasbourg, France
Posts: 181 rdoekes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 20 sec
Reputation Power: 16
Send a message via AIM to rdoekes Send a message via Yahoo to rdoekes
OK, what exactly are you trying to accomplish with this sending username and password?
__________________
- Rogier Doekes

Reply With Quote
  #3  
Old September 2nd, 2002, 08:32 PM
Nauman Nauman is offline
Twenty Seven
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Multan, Pakistan
Posts: 103 Nauman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 33 m 2 sec
Reputation Power: 17
Send a message via ICQ to Nauman
Hello...

If you mean that you need the authentication for each user so that when the user enter correct username and password then he can see his emails... Then you have to use the database to store the username and passwords... and walk through it each time any user login...

Thanks...
Nauman Ahmed

Reply With Quote
  #4  
Old September 2nd, 2002, 09:07 PM
markerdave markerdave is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Illinois, USA
Posts: 71 markerdave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Thanks Nauman,

My company is trying to send a form through email and validating the email with a username and password and I was checking to see if CDONTS could handle it by itself. I'll figure out another (probably easier) way of doing it.

Reply With Quote
  #5  
Old September 3rd, 2002, 03:54 PM
chaliepaka chaliepaka is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 5 chaliepaka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry, wrong object

CDONTS is used for "sessionless" email processing, by that I mean that you don't, nay cannot use or verify email accounts on a server using CDONTS. What mail server are you using? Exchange? Lotus?

Reply With Quote
  #6  
Old October 11th, 2002, 10:52 AM
markerdave markerdave is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Illinois, USA
Posts: 71 markerdave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
I'm back on this project.

Okay, I working on this again. We use Exchange for our mail server. It sounds like CDONTS is probably not the way to go. I have to simply email a form to an address, but our server requires authentication to send it. I am checking out JMail, but haven't come across anything yet. Any ideas?
__________________
Oh I wish, I wish I hadn't killed that fish...

Reply With Quote
  #7  
Old October 14th, 2002, 01:44 PM
adurstew's Avatar
adurstew adurstew is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114 adurstew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 16
Send a message via AIM to adurstew Send a message via Yahoo to adurstew
Exclamation A CDO NTS Idea

If I understand you correctly you are trying to send a username and password to a user to validate their email address.

The way I have done this in the past is to;

Have the user setup the account

username = variable
password = server set variable (can be something like using a radomize statement to get a unique id)

At that point you need to insert that information into the database along with their email address.

If the user get's their password then they will be able to login and thus their email address is verified? Right?

I do have the a couple randomize codes if you need them.

HTH,
__________________
Andrew J Durstewitz
ASP.NET,VB.NET,SQL Developer

http://madashellnc.blogspot.com

Reply With Quote
  #8  
Old October 14th, 2002, 01:52 PM
markerdave markerdave is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Illinois, USA
Posts: 71 markerdave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Andrew,

Hi! That is not exactly what I am trying to do. I am trying to have a user submit a form that will send the results to me through through email. The problem is that our server requires any email that passes through it to be authenticated with a username and password in our database. From what I gather, CDONTS doesn't allow a username and password to be sent with the email message for this kind of authentication. I haven't come up with anything yet.

Reply With Quote
  #9  
Old October 14th, 2002, 02:10 PM
rdoekes rdoekes is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Strasbourg, France
Posts: 181 rdoekes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 20 sec
Reputation Power: 16
Send a message via AIM to rdoekes Send a message via Yahoo to rdoekes
maybe a different approach

Hi MarkerDave,

Maybe instead of sending the form as an email, why don't you use a small database where you insert the form results into.
Other advantage is that the data is already tabulated, so you only have to run selects to get the results.

If that doesn't work or is out of scope, you can always use the power of the XMLDOM to create and append an XML document which holds the results.

Just two cents

Reply With Quote
  #10  
Old October 14th, 2002, 03:17 PM
adurstew's Avatar
adurstew adurstew is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114 adurstew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 16
Send a message via AIM to adurstew Send a message via Yahoo to adurstew
CDO NTS

David,

Ok, are you hosting the ASP pages on the smtp server or are you forwarding the CDO NTS to use a specific smtp server to actually send the email?

As far as I know a Win2k Sever shouldn't require authentication. BUT if you are telling the CDO NTS to send via another SMTP server or the server you are hosting off of is the SMTP server then yes you would need authentication.

As for CDO NTS supporting authentication it doesn't. But there may be work arounds; for example sending the smtp request to an external server for processing.

If that doesn't work for you their is a tool that I found that support authentication, http://www.aspemail.com/

I might be able to help further if you can indulge my questions a little.


Reply With Quote
  #11  
Old October 14th, 2002, 03:41 PM
markerdave markerdave is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Illinois, USA
Posts: 71 markerdave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Andrew,

Hi! The ASP page is being hosted on the SMTP server and we have chosen to require authentication for mail to be sent from it. I just found that aspemail site and I am also looking into JMail right now. I would like to stay away from entering the information into a database because once the information being sent is read by us, it is no longer needed. I will look further into JMail and ASPEmail's stuff, but I'd appreciate any suggestions.

Reply With Quote
  #12  
Old October 14th, 2002, 03:53 PM
adurstew's Avatar
adurstew adurstew is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114 adurstew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 16
Send a message via AIM to adurstew Send a message via Yahoo to adurstew
Suggestions...

David,

I am guessing that you have required authentication on the smtp server to stop relaying from occuring correct? Is there a worry about that occuring or do you think that the server will be left alone?

If the server is located within a firewall or on a DMZ (demiliterized zone) then you should have worries from the outside world. Especially if you don't have an forwards going to port 25 and 110 for that specific server. ( i am assuming that you are only sending the email's to local email accounts).

At large and small companies that I have worked for I have found when using firewalls or a DMZ that I did not require the use of authentication on the CDO NTS server. Just my opion though.

Lemme what are you are going to do and if you need help with the actual processing of the asp email part. I have done alot of these things and once you get used to them (like anything) they are pretty simple.

I hope that I have been of help to you!,

Reply With Quote
  #13  
Old October 15th, 2002, 02:30 PM
markerdave markerdave is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Illinois, USA
Posts: 71 markerdave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Andrew,

Hi! We did switch to requiring authentication because of relay problems. It got pretty bad and so that part cannot be changed. I just have to figure a way around it. If need be, I will consider just writing the info to a database or file, but I'd rather not. I noticed that ASPEmail does allow for usernames and passwords to be submitted with the mail, but I would rather do it myself or use another type of email component (or the database idea for that matter) than pay for it. I don't want to ask my company to pay for something that I should be able to do myself. If can do all of the email stuff except that authentication. It is starting to annoy me. Thanks for the help.

Reply With Quote
  #14  
Old October 15th, 2002, 02:47 PM
adurstew's Avatar
adurstew adurstew is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114 adurstew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 16
Send a message via AIM to adurstew Send a message via Yahoo to adurstew
A thought...

David,

I just had a thought, and yes it did hurt.

Can't you setup exchange to only accept smtp connections from you local domain? That would stop relaying right?

I think you will find that with some smtp configurations you maybe able to get CDO NTS to work.

HTH,

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Username and Password with CDONTS


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap