Web Forms :: To Let Users In Forum Application To Send Messages To Each Other?
Mar 28, 2011
i am building a forum application i want my application users to be able to send messages to each other and application will show some alert that they have new message. I am a beginner i have no idea how to achieve this, can anyone please guide how to get started for this.
I want to Create a forum like "asp.net forum" in My Application.So i want to know that easy flow of making forum list in my Application and how to store it in database.I dont want to make my page loading time is slow. .
I am in the process of creating a forum design from scratch, as my first official asp.net application attempt.
I would like to handle this task in the following steps:
1) Get input from the user: txtLoginEmail, txtPassword
Form has been submitted:
2) Process inputs a) cut/trim white spaces
b) encrypt password by using SHA1 hashing method located in clsLibrary
3) Check the email address given against the database
Match: Display a message saying that the username already exists.
Doesn't: Add the email address and add encrypted password into the database
In my Register.aspx.vb code-behind file, inside of the question mark lines, how exactly do I check against the database to see if that user exists in that database already? I thought perhaps storing the results in an array and then looping through it to look for matches, but that sounds inefficient. I tried this idea and after an hour I was unsuccessful. Below is my code for the class objects and pieces of code relevant to this task:
I know how to send emails, but is it possible to send out text messages?I have a yahoo account and i used to access their server for sending the emails.server which i can access to send text meaasges inspite of running my own server?
i'm trying to send mass email to all my users. But i cannot send too many email at a time because I would be treated as spam or blacklisted, not just by my own isp, maybe the user's server too.So, initially i was thinking to write a loop and loop through the list of emails and send out batch by batch. But this would require my website to be stay opened until it finish.so, any better suggestion? i'm using my own server to relay the message before sending it out. is there email queining feature in my own mail server?
I'm thinking of a architectural way of displaying messages in our application (Flex-Asp.NET-SqlServer), mostly messages that announce for instance a downtime.Currently I was thinking of creating a table FlexMessage that holds the name of a message (based on that name I now where to put in Flex) and the value (the message itself). As a result however, someone will have to create these messages and also delete them when they are no longer valid. So, thinking further, I thought of creating messages having a startdate and enddate, so an interval in which they need to be displayed. Like this, someone could login to the management part and create a message that needs to be displayed from a certain date until a certain date.I could also hardcode it in the Flex Application, but that would mean putting a new build online (of the swf) each time something changes with a certain message.
For error messages, validation faults etc you have
But, where do you put success responses like "You successfully transfered alot of money to your ex." + "Your balance is now zero". I still want to set it at the controller level and preferably in key-value way, the same way as errormessages but without invalidating the modelstate.
I need to send emails to users from my application at regular intervals.
Condition is: When a user registers to my site a confirmation mail will be send to the user. I have already done it. And if the user doesn't confirm the registration within 12 hours through that confirmaton mail the application must have to send a new confirmation mail to the same user and this should repeat for every next 12 hours until that user confirm the registration.
My Problem: When a user registers a new timer should have to be created for that user for sending emails in intervals of 12 hours. The email sending time for each user is based on his registration time. So we cannot use a common timer for sending mail to users.