Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / July 2008



Tip: Looking for answers? Try searching our database.

How to send a mail with VB6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VB Student - 17 Jun 2008 19:03 GMT
Hello, I want to know how to send a mail with my application in VB6
using SMTP server
and if there is any other way ... it is welcome and i wish you listed
for me some SMTP servers to use
thanks in advance
Richard Cole - 17 Jun 2008 22:21 GMT
>Hello, I want to know how to send a mail with my application in VB6
>using SMTP server
>and if there is any other way ... it is welcome and i wish you listed
>for me some SMTP servers to use
>thanks in advance
Use vb6SendMail (http://www.freevbcode.com/ShowCode.Asp?ID=109)

Richard
See http://www.caravanningnow.co.uk where my caravan's for sale.
Signature

Thunder rolled . . . It rolled a six. - 'Guards! Guards!' by Terry
Pratchett

VB Student - 17 Jun 2008 22:46 GMT
Thank you ...
VB Student - 17 Jun 2008 23:01 GMT
Sorry but if you can tall me about free STMP servers i can use i will
be very gratefull
I have tried    mx1.hotmail.com   for hotmail  but it doesn't works
i tried also   smtp1.google.com  but nothing done
please help me it's urgent
VB Student - 18 Jun 2008 00:19 GMT
If you have tried that code in : (http://www.freevbcode.com/
ShowCode.Asp?ID=109) please tell me what is the SMTP you have chosen
and with or not Login ?
I tried the application but always the same message appears in
french : "............ Failed ........... Time out ....."
please help me
Richard Cole - 18 Jun 2008 18:43 GMT
>If you have tried that code in : (http://www.freevbcode.com/
>ShowCode.Asp?ID=109) please tell me what is the SMTP you have chosen
>and with or not Login ?
>I tried the application but always the same message appears in
>french : "............ Failed ........... Time out ....."
>please help me

I use this code in about 5 programs communicating with a SMTP email server,
I use a domain name of a local Exchange server that supports SMTP. These
programs are running on 3 PC's (XP) and on Windows servers.

Have you had a really good look at the manual in the zip file?
Have you specified the correct Username and Password?
Is the domain name (or IP address) you specified correct (try using the
.ping and .mxquery calls)?
Are you using it with 'withevents' and was the error message you gave from
Explanation?
Did you specify the .from value as being your own email address or are you
trying to relay (and if so does your SMTP server allow that)?
Have you asked the mail administrator what's appearing in the logs?

Richard
See http://www.caravanningnow.co.uk where my caravan's for sale.
Signature

A child of five could understand this. Fetch me a child of five. -
Groucho Marx 1890-1977

Dale Atkin - 27 Jul 2008 22:09 GMT
>>If you have tried that code in : (http://www.freevbcode.com/
>>ShowCode.Asp?ID=109) please tell me what is the SMTP you have chosen
[quoted text clipped - 7 lines]
> I use a domain name of a local Exchange server that supports SMTP. These
> programs are running on 3 PC's (XP) and on Windows servers.

You sure you're not helping out a wanna-be spammer here?

Dale
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.