SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-19-2006, 11:12 PM
vivek_master1469's Avatar
vivek_master1469 vivek_master1469 is offline
SEO Junior and a half
 
Join Date: Feb 2006
Posts: 37 vivek_master1469 is on a distinguished road
Angry very angry please help

Hey guys I have used many asp scripts from internet but asp email script does not seems to work.

I have edited the code and wrote my email address but i did not received any mail. Is it neccessary to publish that page on the web and then i shoud try. I have tried many e-mail scripts but o one seems to work

Please reply.
Reply With Quote
  #2  
Old 02-19-2006, 11:32 PM
abhishekmat's Avatar
abhishekmat abhishekmat is offline
SEO
 
Join Date: Nov 2004
Location: Bangalore, India
Posts: 381 abhishekmat will become famous soon enough
If your server supports CDONTS object

Check with your hosting company.

<%
strbody = strbody
semdto = "you@domain.com"
from = "to@domain.com"


set objmail = server.createobject("CDONTS.NewMail")
objMail.BodyFormat=0
objMail.MailFormat=0
objMail.From = From
objMail.To = sendto
objMail.Subject = sendsub
objMail.Body = strbody
objMail.Importance=1
objMail.Send
set objMail=nothing
%>

Regards
Abhishek
__________________
Package tour offers kerala tourism

Check Free Directory List
Reply With Quote
  #3  
Old 02-20-2006, 12:47 AM
vivek_master1469's Avatar
vivek_master1469 vivek_master1469 is offline
SEO Junior and a half
 
Join Date: Feb 2006
Posts: 37 vivek_master1469 is on a distinguished road
Question

Is it neccessary to publish that page on the web in order to send mail?
Reply With Quote
  #4  
Old 02-20-2006, 04:21 AM
abhishekmat's Avatar
abhishekmat abhishekmat is offline
SEO
 
Join Date: Nov 2004
Location: Bangalore, India
Posts: 381 abhishekmat will become famous soon enough
Code will work fine if SMTP is configured in your local system.
it means you can send mail .

worst case check outgoing mails in mailroot\Queue

Regards
Abhishek
__________________
Package tour offers kerala tourism

Check Free Directory List
Reply With Quote
  #5  
Old 04-03-2006, 01:47 AM
BSolveIT's Avatar
BSolveIT BSolveIT is offline
SEO
 
Join Date: May 2005
Location: England, UK
Posts: 621 BSolveIT has a spectacular aura aboutBSolveIT has a spectacular aura about
Send a message via MSN to BSolveIT
That code (with the exception of the typo) will work on windows servers up to Windows 2000 Server, but may not work on Windows Server 2003. It uses a different messaging object.
Reply With Quote
  #6  
Old 04-03-2006, 01:13 PM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,112 Paz has a spectacular aura aboutPaz has a spectacular aura about
Hi,

Maybe your hosting isn't using CDONTS... mine uses SMTPsvg.Mailer.

Have a look in your hosting FAQ. There will be example scripts you can edit and use.

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
Reply


Thread Tools
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
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 03:03 PM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.