473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Automating the Email through the Visual Basic Code.

Hi Everyone,

I want to send the Email through the VB code.
Can anybody help me out in this issue.
I have searched in net also but their in code Either i get security dialog box stating pless yes to continue.
In this case i am not able to automate.

while in the other cases i need to install some dll files which i dont want because i want my code to run with least dependencies.

Can anybody help me on the same.
I will be extremely greatful.
Waiting for ur reply.

Thanks
Jul 17 '07 #1
4 1502
i think this all depends how you want to send the email. if you are looking to use Outlook, you may try to use VBA to automate that process, however if your using something else such as thunderbird or a web based applet, i can not help there.


Hi Everyone,

I want to send the Email through the VB code.
Can anybody help me out in this issue.
I have searched in net also but their in code Either i get security dialog box stating pless yes to continue.
In this case i am not able to automate.

while in the other cases i need to install some dll files which i dont want because i want my code to run with least dependencies.

Can anybody help me on the same.
I will be extremely greatful.
Waiting for ur reply.

Thanks
Jul 17 '07 #2
danp129
323 Expert 256MB
You can write API to click the ok button on the warning which you might be able to find how to do on google.

You can search Planet Source Code, the first result looked good.

You can use CDOSYS that is included with Win2k/XP, Server2k/2k3.

You can use a 3rd party activex dll

You can use winsock, read alot of RFCs, and write everything from scratch
Jul 17 '07 #3
i think this all depends how you want to send the email. if you are looking to use Outlook, you may try to use VBA to automate that process, however if your using something else such as thunderbird or a web based applet, i can not help there.
I am using VBA with outlook but there i am getting the security window on which need to press Yes in order to proceed.
If i press yes then it is not the automation.
what can be done in this.

or if you have anything other than outlook without any external dll.
then do help me out.
Jul 18 '07 #4
You can write API to click the ok button on the warning which you might be able to find how to do on google.

You can search Planet Source Code, the first result looked good.

You can use CDOSYS that is included with Win2k/XP, Server2k/2k3.

You can use a 3rd party activex dll

You can use winsock, read alot of RFCs, and write everything from scratch

Hi thanks for the help.

If you have anything what you are saying can provide me so that i can use it.
Jul 18 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Jerry Weinstein | last post by:
Hi, I know about stored procedures and that they can speed up data entry via the SQL 'insert ' statement. However, one drawback to this method is that using the stored procedure still requires...
6
by: runningdog | last post by:
Hi, I have a Windows Form Control that needs to interact with an object created by the project consuming the control. So I have exposed a Public property which I can set to the name of the object...
1
by: MLH | last post by:
I'm looking for Access Basic code I can use with Access 2.0 to automate sending email using Outlook Express. The body text will always be "Your invoice is attached." The Attachment control on the...
7
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does...
2
by: Michael Bialowas | last post by:
Hello all, I have been searching the net endlessly and found this ng, so I thought I would give a try. Anyways, I have a few problems I am trying to implement a combo box which presently contains...
4
by: danielduq | last post by:
Hey everyone, This is my first post here - so I'm not sure I'll phrase this question right, but here goes: I need to create a Visual Basic 6 program to automate a login to a web site and then...
0
by: meldrum_scotland | last post by:
Hi, I am learning VB2005 and I've created a basic program that creates an Excel spreadsheet and then closes the program leaving the Excel spreadsheet active. The program works great when I...
0
by: =?Utf-8?B?TWFyY2VlcG9v?= | last post by:
I'm a newbie using Visual Studio and Vb.Net. The vbscript below opens a Windows Explorer Search Window. The Windows Explorer Search Window has fields in which the user can insert: (i) a search...
3
by: MickT | last post by:
Hello, I am coding in VB.NET with Option Strict ON in Visual Basic 2008 Express My code is to automate WORD from a VB.NET windows application, as I used to in VB6. Part of my code is ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.