CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting
ASP.NET MVC Ready – 3 Months Free and Free Setup



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.classifieds_starter_kit Tags:
Item Type: NewsGroup Date Entered: 4/10/2007 5:27:26 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 18 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
drockharmon
Asp.Net User
How do you make the Respond to AD go to your e-mail?4/10/2007 5:27:26 AM

0

Hello,

I am new to ASP and still learning so I am sure you are laughing at this question but, What should I put in to make this always send me the email. I dont want the people to be able to communicate with each other, I want the buyer to go to me directly...  Any help would be greatly appreciated...  Here is the Code behind for the button click event 

Protected Sub ResponseSubmitButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles ResponseSubmitButton.Click

ResponseEmailRequired1.Validate()

If Page.IsValid Then

Dim EmailSentBool As Boolean = AdsDB.SendResponse(AdId, Server.HtmlEncode(ResponseContactNameTextBox.Text), Server.HtmlEncode(ResponseContactEmailTextBox.Text), Server.HtmlEncode(ResponseCommentsTextBox.Text))

If EmailSentBool Then

SetActivePanel(EmailSentPanel)

Else

SetActivePanel(EmailNotSentPanel)

End If

End If

End Sub
mattbug
Asp.Net User
Re: How do you make the Respond to AD go to your e-mail?4/11/2007 1:26:30 PM

0

The Ads.vb class builds the email using the MailMessage method. The email is currently being sent to adUser.Email. You can change it to make it send the email to you instead.

Dim from AsString = String.Format("{0} <{1}>", senderName, senderAddress)
Try
    Dim m As New MailMessage(from, adUser.Email)     <----- MailMessage(from As String, to As String)
    m.Subject = "Response for Ad: " + ad.Title
    m.Body = sb.ToString()
    Dim client As New SmtpClient()
    client.Send(m)

    IncrementResponseCount(adId)
    sent = True
Catch ex As Exception
    ' Consider customizing the message for the EmailNotSentPanel in the ShowAds page.
    sent = False
End Try

drockharmon
Asp.Net User
Re: How do you make the Respond to AD go to your e-mail?4/12/2007 8:05:38 AM

0

Thank you soo much.  It was nice of you to respond.  I have not been able to test it, but I am sure it works as I now understand it.  Thanks again from a new user!!!!
mattbug
Asp.Net User
Re: How do you make the Respond to AD go to your e-mail?4/12/2007 4:52:16 PM

0

drockharmon:

I am new to ASP and still learning so I am sure you are laughing at this question but ... Any help would be greatly appreciated... 

Everyone was new to ASP once.  Big Smile You posted an excellent question with a specific example of code, which made it easy to respond!  Be sure to mark the appropriate post as the answer, if it helped you, so other members won't think you still need help.

Happy programming!

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mac OS X, Tiger Edition: The Missing Manual Authors: David Pogue, Pages: 847, Published: 2005
Real Estate Rainmaker: Guide to Online Marketing Authors: Dan Gooder Richard, Pages: 336, Published: 2004
How to Sell Anything on Amazon...and Make a Fortune!: Expert Advice on How to Expand Your Business Online and Generate Additional Revenue Authors: Michael Bellomo, Joel Elad, Pages: 366, Published: 2006
S.U.R.E.-fire Direct Response Marketing: Generating Business-to-business Sales Leads for Bottom-line Success Authors: Russell Kern, Pages: 277, Published: 2001
How to Make the Most of Your Workday Authors: Peg Pickering, Jonathan Clark, Pages: 322, Published: 2001
Organize Your Work Day... in No Time: Fast, Simple, Easy Authors: K. J. McCorry, Pages: 240, Published: 2005
Internet Marketing for Information Technology Companies: Proven Online Techniques to Increase Sales and Profits for Hardware, Software and Networking Companies Authors: Barry Silverstein, Pages: 425, Published: 2001
Windows Vista Timesaving Techniques for Dummies Authors: Woody Leonhard, Pages: 560, Published: 2007
101 Ways to Promote Your Web Site: Filled with Proven Internet Marketing Tips, Tools, Techniques, and Resources to Increase Your Web Site Traffic Authors: Susan Sweeney, Pages: 404, Published: 2006
Get Slightly Famous: Become a Celebrity in Your Field and Attract More Business with Less Effort Authors: Steven Van Yoder, Steven Yoder, Pages: 256, Published: 2003

Web:
Email: Respond to your email, make it to the top Respond to your email, make it to the top ... whether you realize it or not, will determine how fast your career advances and how high you go. ...
How to get a better response from your ad When you receive a response to your ad, it is either going to spark your interest, ... There can be a certain feeling out process to make sure this is a right rendezvous ... While it can work, don't go overboard with your first email . ...
Report an ad Please do not respond to or forward any personal details to this email. ... If you are unsure of the origin of any emails you receive, please go directly to ... Update your anti-virus software and operating system regularly to make sure ...
How to get a better response from your ad To find golf partners online you must make it clear, after all it's the most ... When you receive a response to your ad, it is either going to spark your interest, ... While it can work, don't go overboard with your first email. ...
PERSONALIZED email promotion and marketing: Prospect Response GOLD ... Email marketing & promotion to responsive marketers for your ads. ... Just log into your member's area, type your message, and click "Send" - your email ad goes to .... who might initially just have intended to make money reading emails into ... Your ads go to prospects who are keen and waiting to read your ads. ...
cbs11tv.com - How To Get Men To Respond To Your Personal Ad May 21, 2008 ... Close WindowE-mail This Page. How To Get Men To Respond To Your Personal Ad ... If you want to go into any kind of relationship for the long-term, ... To help you make the most of this undervalued feature, here are some ...
The Obama 3 am response ad - First Read - msnbc.com Feb 29, 2008 ... If you want to slam dunk your petty response ad, .... Your e-mail address (jdoe@ msnbc.com): Your website (it's okay if you don't have one): ...
To Reach Mobile Users, Make Your Marketing Useful - Advertising ... Stay on top of the news and stay ahead of the game—sign up for e-mail newsletters now! ... And with mobile you get a much stronger response because the mobile device is .... Ad Age: How long does it take to set up a mobile ad campaign? .... It enhances the need to make sure things don't go stale and things aren't ...
Target Tells a Blogger to Go Away - New York Times Jan 28, 2008 ... Target offered an e-mail response:. “Unfortunately we are unable to respond to your inquiry because Target does not ... decision and we live up to any promises we make, in terms of service.” ... Hottest Ad Space in Times Sq. May Be on Tourists' Cameras (December 11, 2006) ... Go to Complete List » ...
How to respond to an email from your boss asking you to back off a ... Enjoy the concert, go home, and come back next week to finish my jobs. ... Who sent the e-mail? I can't tell by your question. ... try turn this into a huge ad agency unless the people in charge want to make the leap into a huge agency. ...

Videos:
Dreamweaver website This is my new website that will be up shortly. I am going to be getting a lot of visitors to my website.So advertise your business or company in ...
Mal Emery - Why do People Pay him MILLIONS every year?? http://MalEmeryOnline.com Why do People Pay him MILLIONS every year?? 100 people pay him $20,000-$30,000 each per year 150 people pay him ...
Randy Pausch - Really Achieving Your Childhood Dreams Randy Pausch's Last Lecture with English and German subtitles by Friederike Sophie Brand, Spanish subtitles by Carlos Velásquez and Ezequiel ...
Johnny Clegg & Joan Baez - Asimbonanga - 46664 London 2008 Johnny Clegg & Joan Baez - Asimbonanga 2008 46664 Nelson Mandela Birthday Party 27. Juni 2008 Hyde Park London, GB with the Soweto Gospel Choir ...
Free ipods, Camaras, Cellphones, Xbox 360s, watch the video! You use this link if you don't want to use a credit card. Please note that if you go to this site it might take some for you to order your free ...
3 SOFTWARES THAT BRING SUCCESS TO YOUR BUSINESS- BY ... This is Srini and I welcome you the video tip of the day and on this recording I want to give you one - in fact three different soft wares that I ...
More Than A Woman the Film 2008 psst, pass it along... Looking for a little entertainment? It's sure to make you giggle. The holidays are quickly creeping towards us, so ...
Make Money From Home And Get Cash Instantly (PayPal) Hello Everyone! I'm going To Show You How To Make Money Easy From Home Follow Some Simple Steps Below. (1)Go To PayPal.com and Sign Up ...
AMAZING THREE SOFTWARES THAT BRING SUCCESS TO YOUR BUSINESS ... This is Srini and I welcome you the video tip of the day and on this recording I want to give you one - in fact three different soft wares that I ...
Randy Pausch Last Lecture: Achieving Your Childhood Dreams Carnegie Mellon Professor Randy Pausch (Oct. 23, 1960 - July 25, 2008) gave his last lecture at the university Sept. 18, 2007, before a packed ...












love2trade.com sneakpeak...

help on changing catagories

question in categorybrowse.ascx

having a problem logging into the site? please help!

repeater control for categories

finding an advertisement with id...? any solution.

culture

super slow on dual xeon box

[:)]need an overview

combining the two data bases

make menu tabs selected

classifieds email error? what is this error?

forget password component

looking for most recent version of classified starter kit

new error 40 named pipes can't connect to sql server

top level menus vs sub menus

example site

updating image or color changes

missing assembly?

how do i auto load/display the first picture of an ad

an weird problem

i need someone with strong knowledge of asp.net and classifieds starter kit to improve my site and implement couples new features

has anyone gotten the csk to work 100% with sql server 2000 and windows authentication?

codebehind

classifieds hosting problem

problem running on a web server classifieds

new classifieds starter kit setup

how to download this classified kit

how to combine both the db's into one

time out

   
  Privacy | Contact Us
All Times Are GMT