|
-
Dec 4th, 2007, 05:16 PM
#1
Thread Starter
New Member
Re: Sending an E-mail using VB 6
some tiem ago i tried with the vbSendMail dll. it worked fine and it's very easy to use. but i can't get the mail to get to destination because it needs a smtp server and i don't know any. can anyone help me with that? i tried the automatic SMTP search of the dll, but it didn't work on my computer. and because the program is directed to be distributed amongst my clients it would be russian roulette, so i need it to be fixed.
-
Dec 4th, 2007, 08:42 PM
#2
Re: Sending an E-mail using vbSendMail
Welcome to the Forums.
Post Split from thread: http://vbforums.com/showthread.php?t=495280
If you dont have access to a smtp server then you cant use it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 4th, 2007, 09:31 PM
#3
Re: Sending an E-mail using vbSendMail
most people using outlook or outlook express, or just about any email client other than a webmail application have to have a smtp server, most internet users have access to a smtp server provided by there internet service provider,even if they have never set up to use it.
i would not rely on vbSendmail to detect a smtp server even if one is available, especially if it has not been setup, your users would have to find out if they have access to a smtp server and what its server is
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|