|
From: Arush on 12 Jan 2008 03:16 Hi...friends ,I am making application where i need my appplication to send a mail to a particular id. I have to do this without using a browser ( through my application ) In short I want to automat the process of sending a mail can anybody help me
From: mayayana on 12 Jan 2008 10:23 In addition to VBSendMail, if you feel comfortable with direct coding, the link below is a for a userControl that's very similar to vbSendMail but eliminates the dependency on an extra DLL and on the winsock OCX. (I haven't actually used the winsock OCX, but from what I've seen it doesn't seem to be much easier than just working with the sockets API directly.) This UC incorporates all aspects of the operation and works directly, using Windows sockets APIs to carry out the server conversation: www.jsware.net/jsware/vbcode.php3#mail > Hi...friends ,I am making application where i need my appplication to > send a mail to a particular id. > I have to do this without using a browser ( through my application ) > > In short I want to automat the process of sending a mail > > can anybody help me
From: Arush on 12 Jan 2008 12:55 On Jan 12, 8:23 pm, "mayayana" <mayaXXyan...(a)mindXXspring.com> wrote: > In addition to VBSendMail, if you feel comfortable > with direct coding, the link below is a for > a userControl that's very similar to vbSendMail but > eliminates the dependency on an extra DLL and on > the winsock OCX. > (I haven't actually used the winsock OCX, but from > what I've seen it doesn't seem to be much easier > than just working with the sockets API directly.) > > This UC incorporates all aspects of the operation > and works directly, using Windows sockets APIs to > carry out the server conversation: > > www.jsware.net/jsware/vbcode.php3#mail > > > Hi...friends ,I am making application where i need my appplication to > > send a mail to a particular id. > > I have to do this without using a browser ( through my application ) > > > In short I want to automat the process of sending a mail > > > can anybody help me thanks friends
From: Arush on 12 Jan 2008 13:00 On Jan 12, 7:34 pm, Richard Cole <ispc...(a)hotmail.com.invalid> wrote: > On Sat, 12 Jan 2008 00:16:02 -0800 (PST), Arush <khrbnd....(a)gmail.com> > wrote: > > >Hi...friends ,I am making application where i need my appplication to > >send a mail to a particular id. > >I have to do this without using a browser ( through my application ) > > >In short I want to automat the process of sending a mail > > >can anybody help me > > VBSendMail is easy to use and works well. > > http://www.freevbcode.com/ShowCode.Asp?ID=109 > > Richard > Web pages:http://www.caravanningnow.co.uk/for caravanning,http://www.rcole.org/for my personal web site andhttp://www.homeindorset.co.ukbecause I love the email address. > -- > ...and so, as the moose of time is blasted by the marksman of > eternity, and the manager of the dairy department goes to get a mop... > - Humphrey Lyttelton closing comment in I'm sorry I haven't a clue. thanks friend can u tell me a i can receive mails from a id
From: Steve Gerrard on 12 Jan 2008 14:25
mayayana wrote: > In addition to VBSendMail, if you feel comfortable > with direct coding, the link below is a for > a userControl that's very similar to vbSendMail but > eliminates the dependency on an extra DLL and on > the winsock OCX. > (I haven't actually used the winsock OCX, but from > what I've seen it doesn't seem to be much easier > than just working with the sockets API directly.) > > This UC incorporates all aspects of the operation > and works directly, using Windows sockets APIs to > carry out the server conversation: > > www.jsware.net/jsware/vbcode.php3#mail > > I've just been browsing both VBSendMail and the MailUC user control in your link. I suspect that VBSendMail has more mail parsing/constructing features, but the winsock coding in MailUC is better and doesn't require the OCX. I may tinker with marrying the two, so VBSendMail's handling features work with MailUC's winsock code. I noticed a delightful trick in MailUC. It sets up a callback to receive notifications of FD_READ and FD_WRITE, to handle buffering the output of long emails and receiving responses. This is assigned using WsaASyncSelect. To do this, it uses a TextBox (named T1), and passes the hwnd of the textbox. It specifies the desired message as WM_LBUTTONUP, and the desired winsock events. The UC will then receive a Textbox_MouseUp event from winsock, with VB handling all the messaging foo. The event code comes in as the X parameter of the event, and is made usable by dividing by TwipsPerPixelX. What a clever way of making VB do the leg work! |