Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Handling embedded images when option is turned off


Message #1 by "Diane Schips" <info@M...> on Tue, 11 Dec 2001 12:36:02 -0800
Sorry!  In my last email I neglected to change the subjuct line.  Trying

this again.



Happy Holidays everyone!



I'm using the following script to send out email:



Sub newEmail (emFrom, emTo, emSubject, emTxt, emHtm)

   Set objMsg = Server.CreateObject("CDO.Message")



   With objMsg

      .To           = emTo

      .From         = emFrom

      .Subject      = emSubject

      .HTMLBody     = emHtml

      .TextBody     = emText

      .ReplyTo      = emFrom

      .Organization = "Temple Beth Sholom of Smithtown"

   End With



   objMsg.Send



   Set objMsg = Nothing

End Sub



As expected, I get the html email in Outlook, and a text version in Sierra's

Mailroom (my text email client).  The problem that I have is with people who

have an email client that can recieve html, but who have the graphics option

turned off.  I get back an error email saying:



Sorry webmaster@T... Your mail to <username> could not be delivered

because <username> is not accepting mail with attachments or embedded images



The problem is probably the logo image that I include - it's the same image

that is at the top of every webpage on the site, or maybe it's the

background page image.  I include these two because I want the email to have

the same look as the website pages, especially the newsletter

(www.TBSofS.org/newsletter.asp if you want to see what images I'm talking

about) - hopefully to get more of our membership to visit the website.



BTW - how do I set my outlook to reject embedded images and attachments?  Or

do i need a different email client?  I'd like to be able to test for how

this will be dealt with before I send out 150 emails!



Thanks,

Diane


















  Return to Index