GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 02-Dec-2008, 20:44
xlonehats xlonehats is offline
New Member
 
Join Date: Sep 2007
Posts: 20
xlonehats is on a distinguished road
Arrow

Email in ASPX


Hi guys im able to send emails in asp by the following code
Code:
Dim fname,emailto fname=request.form("fname") email=request.form("email") Set NewMailObj=Server.CreateObject("CDONTS.NewMail") NewMailObj.From = "test@test.com" NewMailObj.To = request.form("emailto") NewMailObj.Subject = "test" NewMailObj.Body = "First Name:  " & fname NewMailObj.BodyFormat = 0 NewMailObj.MailFormat = 0 NewMailObj.Send 'Close the email object and free up resources Set NewMailObj = nothing

I was able to send emails without mentioning smptp and anything else for that matter, but im not able to use that if im writing in aspx,
so how can i send email in aspx....please any help will be appreciated
 
 

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Daily Opt-In Email Leads - "Download 2,000 Email List Every Hour" geza1969 Member Announcements, Advertisements & Offers 1 10-Dec-2007 22:40
Bulk Email hosting *** .com Bullet proof hosting additional2 Web Hosting Advertisements & Offers 1 20-May-2007 14:55
bulk Email Marketing Bullet proof hosting additional2 Web Hosting Advertisements & Offers 0 08-Jul-2006 13:57

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 07:25.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.