Jump to content

Why is sending an email in asp so f'ing hard?


boylesg

Recommended Posts

I have tried countless asp examples and not one of them have ever worked.With php I found an example early on and it worked straight away.This is the latest asp example:myMail= Server.CreateObject("CDO.Message");myMail.Subject="Sending email with CDO";myMail.From="mymail@mydomain.com";myMail.To="greg@gregsindigenouslandscapes.com.au";myMail.TextBody="This is a message.";myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2;myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="mail.gregsindigenouslandscapes.com.au";myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=8025;myMail.Configuration.Fields.Update();//myMail.Send();It is good up to the send bit, which causes an internal sever error.I need examples in javascript as I am not a VB programmer.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...