sending mail 
Author Message
 sending mail

is there a way to send a mail from vb6 if the user doesnt have outlook or
any other mail client or a e-address at all?

thanks CoG



Fri, 06 Sep 2002 03:00:00 GMT  
 sending mail
Try doing a search for sendmail.dll, this is a freeware dll file that gives
you the ability to send simple emails from your app !

Cheers !


Quote:

>is there a way to send a mail from vb6 if the user doesnt have outlook or
>any other mail client or a e-address at all?

>thanks CoG



Fri, 06 Sep 2002 03:00:00 GMT  
 sending mail
That's great but how do you use it.

--
Greg Siemon


Quote:
> Try doing a search for sendmail.dll, this is a freeware dll file that
gives
> you the ability to send simple emails from your app !

> Cheers !



> >is there a way to send a mail from vb6 if the user doesnt have outlook or
> >any other mail client or a e-address at all?

> >thanks CoG



Sat, 07 Sep 2002 03:00:00 GMT  
 sending mail

Quote:

>is there a way to send a mail from vb6 if the user doesnt have outlook or
>any other mail client or a e-address at all?

There's two general approaches that you could use to do this.
If you're familiar with the SMTP protocol, you could implement
a basic client fairly easily with one of the Winsock controls
out there (either our SocketWrench or one of the others). If
you're looking for something to handle the protocol side of
things then you might want to take a look at SocketTools. It
includes MIME and SMTP controls which make it simple to create
and send messages. Some basic code would look like this:

MailMessage1.From = strSender
MailMessage1.To = strRecipients
MailMessage1.Subject = strSubject
MailMessage1.Text = strBody

SmtpClient1.Blocking = True
SmtpClient1.HostName = strHostName

If SmtpClient1.Connect() = 0 Then
  If MailMessage1.ExportFile("") = 0 Then
    nError = SmtpClient1.SendMessage(strSender, strRecipients, "")
  End If
  SmtpClient1.Disconnect
End If

Our e-mail controls also support features like authentication,
file attachments, automatic quoted-printable encoding and
decoding and so on. You can download a free evaluation version
of SocketTools from our website at www.catalyst.com

David



Sat, 07 Sep 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Send Mail Without Leaving Message in Sent Mail

2. Send mail to MS Mail instead of Outlook

3. Specifying an e-mail address or Reply To address when sending mail

4. Sending mail in RTF whiteout using mail merge?

5. VB5 or 6 : Sending mail via default mail client

6. Sending mail without using MS Outlook or other mail client

7. Sending mail using visual basic to Internet mail addresses

8. Program is trying to send mail using Item.Send

9. Delete a Sent Mail from the Sent Item

10. Outlook and Access send.mail

11. Send Mail From Access

12. Best way to send mail?

 

 
Powered by phpBB® Forum Software