|
 |
aspx thread: RE: Old question
Message #1 by Sam Clohesy <samc@e...> on Mon, 24 Mar 2003 12:28:58 -0000
|
|
Hi all- this has been discussed before but was unable to find in archive-
What are the main benefits of Dot Net vs Scripting language (in this case I
am trying to persuade client to go Dot Net route vs Linux PHP route)
Any pointers much appreciated
Cheers
Sam
Sam Clohesy
Project Manager
T: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.com
W: http://www.siteactive.net
Message #2 by =?iso-8859-1?q?Naseem=20Arshad?= <nazarshad@y...> on Mon, 24 Mar 2003 13:49:28 +0000 (GMT)
|
|
Can Anyone help!
I'm trying to send email using ASP.NET pages. as
follows
SmtpMail.Send( _
"nazarshad@y...", _
"nazarshad@y...", _
"testing Mail", _
"Justing sending a test message!")
the following error message.
[COMException (0x80040213): The transport failed to
connect to the server.
]
[TargetInvocationException: Exception has been thrown
by the target of an invocation.]
System.RuntimeType.InvokeDispMethod(String name,
BindingFlags invokeAttr, Object target, Object[] args,
Boolean[] byrefModifiers, Int32 culture, String[]
namedParameters) +0
System.RuntimeType.InvokeMember(String name,
BindingFlags invokeAttr, Binder binder, Object target,
Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object
obj, String methodName, Object[] args) +58
[HttpException (0x80004005): Could not access
'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object
obj, String methodName, Object[] args) +113
System.Web.Mail.CdoSysHelper.Send(MailMessage
message) +1402
System.Web.Mail.SmtpMail.Send(String from, String
to, String subject, String messageText) +125
ASP.EmailFile_aspx.Page_Load() +29
System.Web.Util.ArglessEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e) +10
System.Web.UI.Control.OnLoad(EventArgs e) +55
System.Web.UI.Control.LoadRecursive() +21
System.Web.UI.Page.ProcessRequestMain() +724
My development environment is my pc. Every thing is
running on my including IIS.
--- Sam Clohesy <samc@e...> wrote: > Hi
all- this has been discussed before but was
> unable to find in archive-
>
> What are the main benefits of Dot Net vs Scripting
> language (in this case I
> am trying to persuade client to go Dot Net route vs
> Linux PHP route)
>
> Any pointers much appreciated
>
> Cheers
>
> Sam
>
> Sam Clohesy
> Project Manager
> T: 0208 772 3958
> E: samc@e...
> W: http://www.etypemedia.com
> W: http://www.siteactive.net
>
>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Message #3 by irfan.syed@g... on Tue, 25 Mar 2003 10:03:16 +0800
|
|
You will have to create a new MailMessage object too before sending out
email. See the sample code:
Dim myMessage As MailMessage, myMailer As SmtpMail
Dim mailBody As String
mailBody =3D "testing message"
myMessage =3D New MailMessage()
myMessage.From =3D "someone@s..."
myMessage.Subject =3D "Test"
myMessage.Body =3D mailBody
myMessage.BodyFormat =3D Web.Mail.MailFormat.Html
myMailer.SmtpServer =3D "YourMailServer"
myMessage.To =3D "someone@s..."
myMailer.Send(myMessage)
Regards,
Irfan Syed
System Architect
Dao Heng Securities Limited
Hong Kong
-----Original Message-----
From: nazarshad@y... [mailto:nazarshad@y...]
Sent: Monday, March 24, 2003 9:49 PM
To: ASP.NET
Subject: [aspx] RE: Old question
Can Anyone help!
I'm trying to send email using ASP.NET pages. as
follows
SmtpMail.Send( _
"nazarshad@y...", _
"nazarshad@y...", _
"testing Mail", _
"Justing sending a test message!")
the following error message.
[COMException (0x80040213): The transport failed to
connect to the server.
]
[TargetInvocationException: Exception has been thrown
by the target of an invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers,
Int32
culture, String[]
namedParameters) +0
System.RuntimeType.InvokeMember(String name,
BindingFlags invokeAttr, Binder binder, Object target,
Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object
obj, String methodName, Object[] args) +58
[HttpException (0x80004005): Could not access
'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object
obj, String methodName, Object[] args) +113
System.Web.Mail.CdoSysHelper.Send(MailMessage
message) +1402
System.Web.Mail.SmtpMail.Send(String from, String
to, String subject, String messageText) +125
ASP.EmailFile_aspx.Page_Load() +29
System.Web.Util.ArglessEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e) +10
System.Web.UI.Control.OnLoad(EventArgs e) +55
System.Web.UI.Control.LoadRecursive() +21
System.Web.UI.Page.ProcessRequestMain() +724
My development environment is my pc. Every thing is
running on my including IIS.
--- Sam Clohesy <samc@e...> wrote: > Hi
all- this has been discussed before but was
> unable to find in archive-
>
> What are the main benefits of Dot Net vs Scripting
> language (in this case I
> am trying to persuade client to go Dot Net route vs
> Linux PHP route)
>
> Any pointers much appreciated
>
> Cheers
>
> Sam
>
> Sam Clohesy
> Project Manager
> T: 0208 772 3958
> E: samc@e...
> W: http://www.etypemedia.com
> W: http://www.siteactive.net
>
>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Message #4 by "Alex Smotritsky" <alex.smotritsky@v...> on Mon, 24 Mar 2003 22:03:08 -0500
|
|
.net get's compiled and stays compiled until you make a change, it's not
interpreted every time like php so it's faster. The .net framework is
much more powerfull then the php framework, so you can get more done
with less code. .net has brought the event driven programming model that
has been so successful on the desktop to the web, php has not
accomplished this yet. .net has lots of powerfull ready made controls
that are lacking in php. .net makes it easier to write code for various
devices like pdas and stuff. .net has better support for the creation
and consumption of webservices then anything else on the market. Php is
inferior. Microsoft rules. Microsoft access is easier to use then
anything open source. Sql Server is easier to use and more powerfull
then any open source db. Did I mention that Microsoft rules? Oh yeah, I
did. By the way -- Microsoft Rules Man!
-----Original Message-----
From: Sam Clohesy [mailto:samc@e...]
Sent: Monday, March 24, 2003 7:29 AM
To: ASP.NET
Subject: [aspx] RE: Old question
Hi all- this has been discussed before but was unable to find in
archive-
What are the main benefits of Dot Net vs Scripting language (in this
case I am trying to persuade client to go Dot Net route vs Linux PHP
route)
Any pointers much appreciated
Cheers
Sam
Sam Clohesy
Project Manager
T: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.com
W: http://www.siteactive.net
Message #5 by Sam Clohesy <samc@e...> on Tue, 25 Mar 2003 09:18:25 -0000
|
|
Nice one Alex!
Cheers
Sam
Sam Clohesy
Project Manager
T: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.com
W: http://www.siteactive.net
-----Original Message-----
From: Alex Smotritsky [mailto:alex.smotritsky@v...]
Sent: 25 March 2003 03:03
To: ASP.NET
Subject: [aspx] RE: Old question
.net get's compiled and stays compiled until you make a change, it's not
interpreted every time like php so it's faster. The .net framework is
much more powerfull then the php framework, so you can get more done
with less code. .net has brought the event driven programming model that
has been so successful on the desktop to the web, php has not
accomplished this yet. .net has lots of powerfull ready made controls
that are lacking in php. .net makes it easier to write code for various
devices like pdas and stuff. .net has better support for the creation
and consumption of webservices then anything else on the market. Php is
inferior. Microsoft rules. Microsoft access is easier to use then
anything open source. Sql Server is easier to use and more powerfull
then any open source db. Did I mention that Microsoft rules? Oh yeah, I
did. By the way -- Microsoft Rules Man!
-----Original Message-----
From: Sam Clohesy [mailto:samc@e...]
Sent: Monday, March 24, 2003 7:29 AM
To: ASP.NET
Subject: [aspx] RE: Old question
Hi all- this has been discussed before but was unable to find in
archive-
What are the main benefits of Dot Net vs Scripting language (in this
case I am trying to persuade client to go Dot Net route vs Linux PHP
route)
Any pointers much appreciated
Cheers
Sam
Sam Clohesy
Project Manager
T: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.com
W: http://www.siteactive.net
|
|
 |