473,382 Members | 1,349 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,382 software developers and data experts.

Sending Email From Windows Apps

Hi,

I am writing a windows application that generates a text file that I want to email to a specific location.

Is there a simple way that i can create an email with VB.NET, attach a file and put the email into the Outbox ready to be sent next time the computer is connected?

Ideally I want the email to be put into the outbox of whatever email system the user is using.

Thanks in advance
Regards
Huw
Nov 22 '05 #1
3 1134
Hi Hplloyd,
Ideally I want the email to be put into the outbox of whatever email system the user is using.

It is impossible to add an attachment to a default emailclient. (This
question comes about 10 times a week in this or other dotnet newsgroups).

Cor
Nov 22 '05 #2
If you know that outlook will be used then do it that way. That is probably the easiest way, you should be able to look it up under automation.

"hplloyd" wrote:
Hi,

I am writing a windows application that generates a text file that I want to email to a specific location.

Is there a simple way that i can create an email with VB.NET, attach a file and put the email into the Outbox ready to be sent next time the computer is connected?

Ideally I want the email to be put into the outbox of whatever email system the user is using.

Thanks in advance
Regards
Huw

Nov 22 '05 #3
check this out.
www.vbip.com
regards,
hplloyd wrote:
Hi,

I am writing a windows application that generates a text file that I want to email to a specific location.

Is there a simple way that i can create an email with VB.NET, attach a file and put the email into the Outbox ready to be sent next time the computer is connected?

Ideally I want the email to be put into the outbox of whatever email system the user is using.

Thanks in advance
Regards
Huw


Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: hplloyd | last post by:
Hi, I am writing a windows application that generates a text file that I want to email to a specific location. Is there a simple way that i can create an email with VB.NET, attach a file and...
1
by: Drew | last post by:
I have worked with CDO mail before at a different job, but at that job I was developing internet sites, and now I am developing Intranet apps. We have the following setup, WWW/SQL on 1 server,...
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
3
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
1
by: xin.yadong | last post by:
Hi: I have a shared function for sending Email using SMTP. It works fine in a ASP.NET web application. But when I use it in a VB.Net Windows application, it always gave me an error: "Could not...
5
by: Jason | last post by:
I've a c# app that I execute on a remote machine, which works as I expect it to, but when that apps throws an exception on the remote machine how do I know what's going on, since it's a remote...
3
by: Daniel Clark | last post by:
I have a Windows command line based application that only shuts down cleanly if it sees "CTRL-C" on the console. I need to automate the running of this application, but still allow the user sitting...
0
by: misra | last post by:
Hi, I am using a C# code to call blat and send mail. When I send mails with long sentences, the mail automatically is send with multiple lines. However, certain times the body and format of the...
6
by: gnewsgroup | last post by:
I am using Peter Bromberg's code to send email through gmail smtp service in my asp.net web application. Thanks, Peter. The problem with gmail smtp is that gmail will overwrite the sender's...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.