473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

email Problem

Hi I m trying to send an email using an asp program but it gives an
error no doubt it is so simple but it gives an error.
First I write my program

<%
Dim myMail
'Set myMail = Server.CreateObject ("CDONTS.NewMail")
Set myMail = Server.CreateObject ("CDO.Message")

myMail.From = "vi******@yahoo.com"
myMail.To = "vi******@gmail.com"
myMail.Subject = "Test email using CDONTS"
'myMail.Body = "This is a test email message" & vbcrlf & "sent with
CDONTS"
myMail.TextBody = "This is a test email message"

myMail.Send
set myMail=nothing
Response.Write("Your e-mail has been sent")
%>
Asn the error that i m getting is

Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.

please help me
Thanks in Advance

Jun 30 '07 #1
1 1434
google:

asp cdo sendmail
there are many examples available
<vi******@gmail.comwrote in message news:11**********************@g4g2000hsf.googlegro ups.com...
Hi I m trying to send an email using an asp program but it gives an
error no doubt it is so simple but it gives an error.
First I write my program

<%
Dim myMail
'Set myMail = Server.CreateObject ("CDONTS.NewMail")
Set myMail = Server.CreateObject ("CDO.Message")

myMail.From = "vi******@yahoo.com"
myMail.To = "vi******@gmail.com"
myMail.Subject = "Test email using CDONTS"
'myMail.Body = "This is a test email message" & vbcrlf & "sent with
CDONTS"
myMail.TextBody = "This is a test email message"

myMail.Send
set myMail=nothing
Response.Write("Your e-mail has been sent")
%>
Asn the error that i m getting is

Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.

please help me
Thanks in Advance

Jun 30 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jpastora | last post by:
I'm having a strange problem with our email links on the domain : http://www.pc350.com/ . The problem is that when you click on an email link, the email app is not launched until the browser...
6
by: mike | last post by:
I have created a side application in VB.NET which reads rows from a DB and builds an email message. when i have a long string the the mailmessage.body or the mailmessage, it puts in an...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
0
by: VP | last post by:
g'day, i am posting a problem i have encountered with creating an email using outlook through some basic c# code. the problem arises when using different email editors in outlook. At the moment...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
26
by: libsfan01 | last post by:
Hi all! Can anyone show me how to check and email field on a form for the existence of these two characters. Kind regards Marc
0
by: RickVidallon | last post by:
Missing or Truncated Body Text in Email Application - 2 Strange Examples... There is no earthly reason why this is happening! EXAMPLES HERE: http://65.36.227.70/actmailer/ We have a...
3
by: Steven Allport | last post by:
I am working on processing eml email message using the email module (python 2.5), on files exported from an Outlook PST file, to extract the composite parts of the email. In most instances this...
3
by: IGD | last post by:
I don't know if this is the right place to post this or not. If not, could someone direct me elsewhere where I would find more information on how to solve my problem? Thanks! My problem is this:...
28
tdw
by: tdw | last post by:
Hi all, I am trying to add a feature to our database that automates sending emails. When entering a new order, I want the option to send an email to the company the order came from, attaching a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.