Hello,
dim receiptto
receiptto="a2*@yahoo.com"
set cdoconfig=CreateObject("CDO.configuration")
set cdomsg=CreateObject("CDO.Message")
with cdoconfig.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
..Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail8.webmail.com"
'this is the SMTP server setting in my outlook.
.Update
end with
with cdomsg
set .Configuration=cdoconfig
..Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto
.Fields("urn:schemas:mailheader:return-receipt-to") =receiptto
.From="a2***@yahoo.com"
.To="my****@yahoo.com"
.Subject="Sample mail"
.HTMLBody="<b><font color=#ff0000 size=3
face='arial'>Hello</font></b>"
.DSNOptions=4
.Fields.update
.Send
end with
set cdoconfig=nothing
set cdomsg=nothing
Response.Write "Mail sent"
I am getting the error ar .Send (Internal Server error 500
If i didnt use configuration, sending mail correctly. (Simple from, to,
subject, htmlbody, send).
Thanx in advance 7 2121
Turn off friendly error messages in your browser http://support.microsoft.com/default...;en-us;Q294807
--
Jason Brown
Microsoft GTSC, IIS
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Rajani" <Ra****@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.com... Hello,
dim receiptto receiptto="a2*@yahoo.com" set cdoconfig=CreateObject("CDO.configuration") set cdomsg=CreateObject("CDO.Message")
with cdoconfig.Fields .Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail8.webmail.com"
'this is the SMTP server setting in my outlook.
.Update end with with cdomsg set .Configuration=cdoconfig
.Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto .Fields("urn:schemas:mailheader:return-receipt-to") =receiptto .From="a2***@yahoo.com" .To="my****@yahoo.com" .Subject="Sample mail" .HTMLBody="<b><font color=#ff0000 size=3 face='arial'>Hello</font></b>" .DSNOptions=4 .Fields.update .Send end with set cdoconfig=nothing set cdomsg=nothing
Response.Write "Mail sent"
I am getting the error ar .Send (Internal Server error 500 If i didnt use configuration, sending mail correctly. (Simple from, to, subject, htmlbody, send).
Thanx in advance
Might try this code: http://www.aspfaq.com/2252
-- http://www.aspfaq.com/
(Reverse address to reply.)
"Rajani" <Ra****@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.com... Hello,
dim receiptto receiptto="a2*@yahoo.com" set cdoconfig=CreateObject("CDO.configuration") set cdomsg=CreateObject("CDO.Message")
with cdoconfig.Fields
..Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
..Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail8.we
bmail.com" 'this is the SMTP server setting in my outlook.
.Update end with with cdomsg set .Configuration=cdoconfig
.Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto .Fields("urn:schemas:mailheader:return-receipt-to") =receiptto .From="a2***@yahoo.com" .To="my****@yahoo.com" .Subject="Sample mail" .HTMLBody="<b><font color=#ff0000 size=3 face='arial'>Hello</font></b>" .DSNOptions=4 .Fields.update .Send end with set cdoconfig=nothing set cdomsg=nothing
Response.Write "Mail sent"
I am getting the error ar .Send (Internal Server error 500 If i didnt use configuration, sending mail correctly. (Simple from, to, subject, htmlbody, send).
Thanx in advance
Hello,
I off friendly error messages in the browser. Still the same
error(screen). I copied from that article only and changed values to suit my
requirements. If i didnt use configuration, its sending mail w/o error. When
i use config only its displaying error.
"Aaron [SQL Server MVP]" wrote: Might try this code: http://www.aspfaq.com/2252
-- http://www.aspfaq.com/ (Reverse address to reply.)
"Rajani" <Ra****@discussions.microsoft.com> wrote in message news:B1**********************************@microsof t.com... Hello,
dim receiptto receiptto="a2*@yahoo.com" set cdoconfig=CreateObject("CDO.configuration") set cdomsg=CreateObject("CDO.Message")
with cdoconfig.Fields ..Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 ..Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail8.we bmail.com" 'this is the SMTP server setting in my outlook.
.Update end with with cdomsg set .Configuration=cdoconfig
.Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto .Fields("urn:schemas:mailheader:return-receipt-to") =receiptto .From="a2***@yahoo.com" .To="my****@yahoo.com" .Subject="Sample mail" .HTMLBody="<b><font color=#ff0000 size=3 face='arial'>Hello</font></b>" .DSNOptions=4 .Fields.update .Send end with set cdoconfig=nothing set cdomsg=nothing
Response.Write "Mail sent"
I am getting the error ar .Send (Internal Server error 500 If i didnt use configuration, sending mail correctly. (Simple from, to, subject, htmlbody, send).
Thanx in advance
yeah mate.
--
Jason Brown
Microsoft GTSC, IIS
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Is that Atrax? "Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message news:ei**************@TK2MSFTNGP14.phx.gbl... Turn off friendly error messages in your browser
http://support.microsoft.com/default...;en-us;Q294807
On Mon, 22 Nov 2004 22:37:15 -0800, Rajani
<Ra****@discussions.microsoft.com> wrote: I off friendly error messages in the browser. Still the same error(screen). I copied from that article only and changed values to suit my requirements. If i didnt use configuration, its sending mail w/o error. When i use config only its displaying error.
Post the full error message as you see it. If it works without the
config, then you have something wrong in your config settings. You
did edit the code to match your SMTP server, correct?
Jeff
"Aaron [SQL Server MVP]" wrote:
Might try this code: http://www.aspfaq.com/2252
-- http://www.aspfaq.com/ (Reverse address to reply.)
"Rajani" <Ra****@discussions.microsoft.com> wrote in message news:B1**********************************@microsof t.com... > Hello, > > dim receiptto > receiptto="a2*@yahoo.com" > set cdoconfig=CreateObject("CDO.configuration") > set cdomsg=CreateObject("CDO.Message") > > with cdoconfig.Fields > ..Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 > > ..Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail8.we bmail.com" > > 'this is the SMTP server setting in my outlook. > > .Update > end with > with cdomsg > set .Configuration=cdoconfig > > .Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto > .Fields("urn:schemas:mailheader:return-receipt-to") =receiptto > .From="a2***@yahoo.com" > .To="my****@yahoo.com" > .Subject="Sample mail" > .HTMLBody="<b><font color=#ff0000 size=3 > face='arial'>Hello</font></b>" > .DSNOptions=4 > .Fields.update > .Send > end with > set cdoconfig=nothing > set cdomsg=nothing > > > Response.Write "Mail sent" > > > I am getting the error ar .Send (Internal Server error 500 > If i didnt use configuration, sending mail correctly. (Simple from, to, > subject, htmlbody, send). > > > Thanx in advance
This is the code i used
dim receiptto
receiptto="ra****@tom.com.bn"
set cdoconfig=CreateObject("CDO.configuration")
set cdomsg=CreateObject("CDO.Message")
with cdoconfig.Fields
' .Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
' .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail4.webindia.com"
' .Update
end with
with cdomsg
' set .Configuration=cdoconfig
.Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto
.Fields("urn:schemas:mailheader:return-receipt-to") =receiptto
.From="a2***@yahoo.com"
.To="ra****@tom.com.bn"
.Subject="Sample mail"
.HTMLBody="<b><font color=#ff0000 size=3 face='arial'>Hello</font></b>"
.DSNOptions=4
.Fields.update
.Send
end with
set cdoconfig=nothing
set cdomsg=nothing
"Jeff Cochran" wrote: On Mon, 22 Nov 2004 22:37:15 -0800, Rajani <Ra****@discussions.microsoft.com> wrote:
I off friendly error messages in the browser. Still the same error(screen). I copied from that article only and changed values to suit my requirements. If i didnt use configuration, its sending mail w/o error. When i use config only its displaying error.
Post the full error message as you see it. If it works without the config, then you have something wrong in your config settings. You did edit the code to match your SMTP server, correct?
Jeff
"Aaron [SQL Server MVP]" wrote:
Might try this code: http://www.aspfaq.com/2252
-- http://www.aspfaq.com/ (Reverse address to reply.)
"Rajani" <Ra****@discussions.microsoft.com> wrote in message news:B1**********************************@microsof t.com... > Hello, > > dim receiptto > receiptto="a2*@yahoo.com" > set cdoconfig=CreateObject("CDO.configuration") > set cdomsg=CreateObject("CDO.Message") > > with cdoconfig.Fields > ..Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 > > ..Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail8.we bmail.com" > > 'this is the SMTP server setting in my outlook. > > .Update > end with > with cdomsg > set .Configuration=cdoconfig > > .Fields("urn:schemas:mailheader:disposition-notification-to")=receiptto > .Fields("urn:schemas:mailheader:return-receipt-to") =receiptto > .From="a2***@yahoo.com" > .To="my****@yahoo.com" > .Subject="Sample mail" > .HTMLBody="<b><font color=#ff0000 size=3 > face='arial'>Hello</font></b>" > .DSNOptions=4 > .Fields.update > .Send > end with > set cdoconfig=nothing > set cdomsg=nothing > > > Response.Write "Mail sent" > > > I am getting the error ar .Send (Internal Server error 500 > If i didnt use configuration, sending mail correctly. (Simple from, to, > subject, htmlbody, send). > > > Thanx in advance
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: hitendra |
last post by:
wats eauivalent of IIF in C#?
|
by: babykennedy |
last post by:
im using Windows XP and it was working great... but i was cleaning out old
programs off of the actual hard drive, and now my computer will not play
sound. it says that there is a problem with the soud set-up or whatever, but
i can't find a problem. I know i am probably the dumbest person in the world
for not being able to fix this, but i...
|
by: seshu |
last post by:
Hi everybody today i have developed an application which uses the concepts of classes and the code is like this to explain you simply
i have two forms form1,form2,and a class class1
in class i wrote this
Public Class Class1
Public str As String = ""
End Class
in form1 class one i wrote this code
dim cls as new class1
in button click...
|
by: Nishit |
last post by:
wats the difference between debuggin and compiling?
|
by: flavourofbru |
last post by:
Hi,
I am reading a text file which has 4 columns into a 3D array.
My code is compiling........but cant see the output. Shows .exe file stopped working.
My code is as follows:
//#include "stdafx.h"
#include<iostream>
| |
by: rhepsi |
last post by:
Hii all,
im worried with a project where...
im trying to delete a row from the datagrid....
delete_button_click:...
|
by: sriya |
last post by:
hi, this is vidya,
i have a doubt regarding the output of this program
main()
{
int c;
c=300*300/300;
printf("%d",c);
}
the output is?
|
by: jemar19 |
last post by:
import java.util.*;
public class trixie {
static Scanner console = new Scanner (System.in);
public static void main(String args ) {
double numDollar,numSwissfrancs,currency;
double numEurodollars,numMexicanpesos,dollars;
double SwissFrancs,Eurodollars,Mexicanpesos;
|
by: shashankbs |
last post by:
Given a topology and a certain node X, find the shortest path tree
with X as the root.
* Input: a topology file similar to the following (which is a three-node
ring)
--------------------------------------------
Nodes: (3) // there are three nodes (node 0, 1 and 2)
Edges: (3)
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |