boylesg Posted June 15, 2010 Share Posted June 15, 2010 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 More sharing options...
justsomeguy Posted June 15, 2010 Share Posted June 15, 2010 What does the error say? Are you sure you have the right values for sendusing, smtpserver, and the port? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.