Search All Forums
Dart Home | PowerTCP Mail for .NET | Custom Development Reply | PowerTCP Mail for .NET Topics | Forums   
AuthorForum: PowerTCP Mail for .NET
Topic: html email with image with https url

From: Netherlands
Posts: 3
Member Since: 01/08/16
posted January 8, 2016 9:12 AM

I'm using dart email

When composing a html email containing an image tag containing a https url, i get the following error: The given path's format is not supported

If i replace the https image url with a http url, no error occurs.

Is there a way to solve this?

FYI, the code i used:

    Using smtpClient As New Dart.PowerTCP.Mail.Smtp
      smtpClient.Server = "..."
      smtpClient.ServerPort = 25
      smtpClient.MailFrom = New Dart.PowerTCP.Mail.MailAddress("...")

      Using stream As New System.IO.MemoryStream(StringToByte(bodyTextHtml)) ' bodyTextHtml contains a html string with an image on a https url
        Using message As New Dart.PowerTCP.Mail.MessageStream(stream, htmlRootFolder) ' <-- error on this instruction
          ' ...
        End Using
      End Using
    End Using
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 436
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted January 8, 2016 5:07 PM

Thank you for your post. I have sent an offline email to you requesting additional information. Please let me know if you have not received this email and I will be happy to resend.

All the best,
Reply | PowerTCP Mail for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX