Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: how to email a page


Message #1 by "Diane Schips" <info@M...> on Sat, 8 Jun 2002 18:31:40 -0400
I need, depending on the user's choice, to email either a page link or the
page itself.  At the point where I'm sending the email (using CDO2000), I
have the URL - I'm not on the page itself.  How do I do this?

Thanks,
Diane

Message #2 by "Siegfried Weber" <sweber@c...> on Sun, 9 Jun 2002 02:45:17 +0200
CDOSYS (CDO for Windows 2000) supports a method to create a new e-mail
with  an HTML message body using the following code:

With objMessage
  .From =3D "me@d..."
  .To =3D "you@d..."
  .Subject =3D "Attached is the page"
  .CreateMHTMLBody "http://www.website.com"
  .Send
End With

It actually has a lot more options you can specify. For more info you
might want to check MSDN http://msdn.microsoft.com and search for
"CreateMHTMLBody".

<Siegfried />

> -----Original Message-----
> From: Diane Schips [mailto:info@M...]
> Sent: Sunday, June 09, 2002 12:32 AM
> To: ASP CDO
> Subject: [asp_cdo] how to email a page
>
> I need, depending on the user's choice, to email either a page link or
the
> page itself.  At the point where I'm sending the email (using
CDO2000), I
> have the URL - I'm not on the page itself.  How do I do this?
>
> Thanks,
> Diane
>
>

  Return to Index