473,511 Members | 16,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
%>

Jul 19 '05 #1
1 1734
Bram wrote on 03 jan 2004 in microsoft.public.inetserver.asp.general:
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


Ik kan zo niet zien wat die lijn 13 is, dat moet je dus even uittellen en
dan weet je waarschijnlijk waar de fout zit.

Volgens mij probeer je te veel tegelijk. Probeer eerst eens een eenvoudig
tekstbericht en als dat lukt langzaam functies bijvoegen.

Inmiddels is het handig om dit te lezen:
<http://www.aspfaq.com/show.asp?id=2026>

Ik gebruik zelf altijd Jmail en ken de CDO specs niet.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2

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

Similar topics

0
3275
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
11163
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
3250
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
3007
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
18143
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
2100
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
17452
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
1965
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
2660
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
5859
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
7242
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
7138
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
7423
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...
1
7081
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
7510
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...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.