khadem1386 Posted February 28, 2007 Share Posted February 28, 2007 Hithis is my code but server return errordim myMailSet myMail=CreateObject("CDO.Message")myMail.Subject="Sending email with CDO"myMail.From="info@panatem.com"myMail.To="o_sham@hotmail.com"myMail.HTMLBody = "<h1>This is a message.</h1>" myMail.Send 'line 14set myMail=nothingthis is error mesege:CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /pana/send email attached1.asp, line 14 what must I do? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 28, 2007 Share Posted February 28, 2007 Read this page for a description of sending mail using CDOSYS:http://www.powerasp.com/content/new/sending_email_cdosys.aspThere are different values for sendusing depending on what you want to do. Link to comment Share on other sites More sharing options...
khadem1386 Posted March 1, 2007 Author Share Posted March 1, 2007 OK I use this code above but I want use Embedded Images it is for an email with html formt with a image.I use attach metode :myMail.AddAttachment "image.gif" only attach this filebut It seem that is not enogh for using this image through html page emailed.do you know any command and sysntax for cdoSYS (CDO.Message)like : myMail.AddEmbeddedImage "c:\winnt\media\ringin.gif", "My-image" Link to comment Share on other sites More sharing options...
justsomeguy Posted March 1, 2007 Share Posted March 1, 2007 No, I don't think there is anything like that. You can email yourself an HTML email and look at the email source to see what they do, or you can just have the images be HTTP links to an image on a web server. Link to comment Share on other sites More sharing options...
khadem1386 Posted March 1, 2007 Author Share Posted March 1, 2007 myMail.AddEmbeddedImage "c:\winnt\media\ringin.gif", "My-imageBut we have this command in ASPEmail(Persite) or jmail . but this objects don't support by all server in (profesional) and only in free vertion it is ready. I think that we must use CDOSYS object for make a HTML contain image in middle or first or in background and then Emailed it. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 1, 2007 Share Posted March 1, 2007 http://www.google.com/search?client=opera&...-8&oe=utf-8 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now