I would like to send the e-mail through Outlook, but I could not figure out
how.
Currently, I'm using EasyMail from QuickSoft, using the following code:
Dim msgObj As New EmailMessage
Dim server As New SMTPServer
Dim smtpObj As New SMTP
msgObj.Recipients.Add(strSendTo, strName, RecipientType.To)
msgObj.From.Email = ...
Dim msgBody As BodyPart = New BodyPart
msgBody.Format = BodyPartFormat.HTML
msgObj.BodyParts.Add(msgBody)
msgBody.Body = ...
server.Name = ...
server.Account = ...
server.Password = ...
server.AuthMode = SMTPAuthMode.AuthLogin
smtpObj.SMTPServers.Add(server)
smtpObj.Send(msgObj)
Denise
[quoted text, click to view] "Daniel O'Connell [C# MVP]" wrote:
>
> "Denise" <Denise@discussions.microsoft.com> wrote in message
> news:BF9985FB-338F-4DEB-8E20-1282A522B0CD@microsoft.com...
> > When I developed applications in Access, I was able to specify a paramater
> > to
> > allow the user to manually edit an e-mail message before sending it. I
> > don't
> > see any way to do that with .Net.
> >
> > Is there any way to show the message up I intend to send in Outlook, so
> > the
> > user can make changes if necessary before sending?
> >
>
> Are you trying to send the email via Outlook or with some other method?
>
>
[quoted text, click to view] "Denise" <Denise@discussions.microsoft.com> wrote in message
news:A264341D-866F-46F7-94A6-EEDC9EA8C3DA@microsoft.com...
>I would like to send the e-mail through Outlook, but I could not figure out
> how.
You would probably have to use Outlook automation, which is beyond my scope.
[quoted text, click to view] >
> Currently, I'm using EasyMail from QuickSoft, using the following code:
In that case I would simply write a winforms editor and use it to allow the
user to edit the message information.