Embedding Image in ASPemail

Results 1 to 2 of 2

Thread: Embedding Image in ASPemail

  1. #1
    Join Date
    Dec 1969

    Default Embedding Image in ASPemail

    The ASPemail site says you do it like this<BR>AddEmbeddedImage(Path As String, ContentID As String)<BR><BR>When I do it like this<BR>Mail.AddEmbeddedImage("images/cjoblogo50.jpg", "ImageID")<BR><BR>I get this error<BR>Cannot use parentheses when calling a Sub <BR>pointing to this line.<BR>Any ideas?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Embedding Image in ASPemail

    Mail.AddEmbeddedImage "images/cjoblogo50.jpg", "ImageID"<BR><BR>Unless it returns a value, then if you care about that value, you would do:<BR>vntRet = Mail.AddEmbeddedImage("images/cjoblogo50.jpg", "ImageID")<BR><BR>-Doug

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts