473,387 Members | 1,517 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,387 software developers and data experts.

Mail via ASP

Ik ben nog niet zo op de hoogte op het gebied van ASP, maar laatst heb ik
geprobeerd een script te schrijven om een e-mail vanaf een asp-pagina te
verzenden. Dit is me echten niet gelukt. Het enige dat er op m'n pagina
verscheen was:

CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/test.asp, line 13

en er werd dus geen e-mail gestuurd... Ik snap niet wat ik verkeerd heb
gedaan, misschien kan iemand mij helpen...
De codes die ik gebruikt heb zijn:

<%
Dim MyMail
Set MyMail = Server.CreateObject("CDO.Message")
MyMail.From = "in**@theSyreens.nl"
MyMail.To = "br****@planet.nl"
MyMail.Cc = ""
MyMail.Bcc = ""
MyMail.Subject = "Testmail"
MyMail.TextBody = "<H1><i>the Syreens</i></h1>Bla Bla Bla"
MyMail.AddAttachment ""
MyMail.Fields("urn:schemas:httpmail:importance").V alue = 1
MyMail.Fields.Update()
MyMail.Send()
Set MyMail = Nothing
%>

Nov 18 '05 #1
1 1542
ENGLISH
"Bram" <br****@planet.nl> wrote in message
news:bt**********@reader08.wxs.nl...
Ik ben nog niet zo op de hoogte op het gebied van ASP, maar laatst heb ik
geprobeerd een script te schrijven om een e-mail vanaf een asp-pagina te
verzenden. Dit is me echten niet gelukt. Het enige dat er op m'n pagina
verscheen was:

CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/test.asp, line 13

en er werd dus geen e-mail gestuurd... Ik snap niet wat ik verkeerd heb
gedaan, misschien kan iemand mij helpen...
De codes die ik gebruikt heb zijn:

<%
Dim MyMail
Set MyMail = Server.CreateObject("CDO.Message")
MyMail.From = "in**@theSyreens.nl"
MyMail.To = "br****@planet.nl"
MyMail.Cc = ""
MyMail.Bcc = ""
MyMail.Subject = "Testmail"
MyMail.TextBody = "<H1><i>the Syreens</i></h1>Bla Bla Bla"
MyMail.AddAttachment ""
MyMail.Fields("urn:schemas:httpmail:importance").V alue = 1
MyMail.Fields.Update()
MyMail.Send()
Set MyMail = Nothing
%>

Nov 18 '05 #2

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

Similar topics

0
by: Merijn Boom | last post by:
Hi there, I'm trying to create an html mail with embedded pictures in it. I run perl on Windows and Red Hat but I cannot get your module (Mail::Sender) to work. I'm just trying to run the...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
3
by: Phil Mc | last post by:
Hi has anyone come accross the problem.... with referance to System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail THIS WORKS FINE mail=new MailMessage(); mail.From =...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
4
by: J Huntley Palmer | last post by:
How may I setup a proper HTML mail message with embedded href links using PHP, that follows all the MIME rules? Any examples or links would be appreciated. Thanks!
2
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to...
6
by: cover | last post by:
I'm using PHP 5 at home w/Apache & MySQL on a test system where I write through a form to a database and also send an email to people on a drop down list. Purpose for this is an electronic log at...
2
by: Ruud | last post by:
Just before leaving for a holiday my collegue modified this script. Now it won't send any body text (The data filled in on the form) and in an error condition it won't send any attachments either....
2
mikek12004
by: mikek12004 | last post by:
Before posting here I google it and saw ablut 30 pages for a solution so I pretty much excluded the obvious things. The code is <?php //now to send the mails to seller...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.