Forum Replies Created

Viewing 2 posts - 1 through 3 (of 3 total)

  • RE: Sending emails with CDOSYS

    thanks, i actually figured it out i needed authentication.:

    EXEC @hr = sp_OASetProperty @iMsg, 'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate").Value', '1'

    EXEC @hr = sp_OASetProperty @iMsg, 'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/smtpserver").Value', mail server

    ...

  • RE: Sending Attachment with Cdosys

    you HAVE to use the ",@rv out," parameter. if not it wont work

    EXEC @hr = sp_OAMethod @iMsg, 'AddAttachment',@rv out, @ATTACHMENT

    RG.

Viewing 2 posts - 1 through 3 (of 3 total)