Dim obj As Object
                    Set obj = CreateObject("Outlook.Application")
                    Set m = obj.createitem(olmailitem)
                    Set r = m.Recipients
                    r.Add ("[EMAIL PROTECTED]")
                    m.Subject = "Test Mail"
                    m.Body = "Hi This is Test Mail"
                    m.send
                    MsgBox ("Mail has been sent to - " & 
[EMAIL PROTECTED])

--- In [email protected], "lm_badri" <[EMAIL PROTECTED]> wrote:
> --- In [email protected], Chintan Shah <[EMAIL PROTECTED]> wrote:
> > Hi friends,
> >  
> > I want to send mail through my vb program. I know how to send 
mail 
> when outlook configure. But i want to send mail when there is know 
> program configure but connect to net. 
> > Is it possible to send mail ?
> > if Yes pl. guide me.
> >  
> > Thanks,
> >  
> > Chintan shah
> > 
> > Yahoo! India Matrimony: Find your life partneronline.
> > 
> > [Non-text portions of this message have been removed]
> 
> 
> u can use third party component say smtp server to send mails from 
> vb program







'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to