Just simple mails plain text
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------ 9 1050
Hi Crirus,
For your solution I think it only can be SMTP
This I did gave as answer to Wojciech yesterday, you have to change
"wiadomosc" in "information" or whatever word in the Rumanian language
search for the rest on/in mdsn, this is just start but quiet complete I
thought.
\\\\
Dim wiadomosc As Web.Mail.MailMessage = New Web.Mail.MailMessage
Dim config As MailAttachment = New
MailAttachment("c:\test1\test.txt")
wiadomosc.Attachments.Add(config)
wiadomosc.From = xxx@xxx
wiadomosc.To = xxx@xxx
wiadomosc.Subject = "..."
wiadomosc.Body = "..."
wiadomosc.BodyFormat = Web.Mail.MailFormat.Text
System.Web.Mail.SmtpMail.SmtpServer = "xxxx.xxxx.xx"
System.Web.Mail.SmtpMail.Send(wiadomosc)
///
Cor
Hi Armin,
Not a wrong answer, but Crirus did in my opinion not ask "how", but what is
the best, that opinion is difficult to find in the newsgroup.
But when you did read it as "how" I fully agree with your answer.
Cor
* "Cor" <no*@non.com> scripsit: Not a wrong answer, but Crirus did in my opinion not ask "how", but what is the best, that opinion is difficult to find in the newsgroup.
But when you did read it as "how" I fully agree with your answer.
I am not sure what 'easiest' and 'shortest' means. That's not always
the _best_ way.
;-)
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html>
* "Crirus" <Cr****@datagroup.ro> scripsit: Just simple mails plain text
You will find a sample for sending mail here:
<http://www.microsoft.com/downloads/details.aspx?FamilyId=08E3D5F8-033D-420B-A3B1-3074505C03F3&displaylang=en>
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html>
Thanks, that's all I need :)
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Cor" <no*@non.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl... Hi Crirus,
For your solution I think it only can be SMTP
This I did gave as answer to Wojciech yesterday, you have to change "wiadomosc" in "information" or whatever word in the Rumanian language search for the rest on/in mdsn, this is just start but quiet complete I thought.
\\\\ Dim wiadomosc As Web.Mail.MailMessage = New Web.Mail.MailMessage Dim config As MailAttachment = New MailAttachment("c:\test1\test.txt") wiadomosc.Attachments.Add(config) wiadomosc.From = xxx@xxx wiadomosc.To = xxx@xxx wiadomosc.Subject = "..." wiadomosc.Body = "..." wiadomosc.BodyFormat = Web.Mail.MailFormat.Text System.Web.Mail.SmtpMail.SmtpServer = "xxxx.xxxx.xx" System.Web.Mail.SmtpMail.Send(wiadomosc) ///
Cor
I cant find that namespace for mail!
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Cor" <no*@non.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl... Hi Crirus,
For your solution I think it only can be SMTP
This I did gave as answer to Wojciech yesterday, you have to change "wiadomosc" in "information" or whatever word in the Rumanian language search for the rest on/in mdsn, this is just start but quiet complete I thought.
\\\\ Dim wiadomosc As Web.Mail.MailMessage = New Web.Mail.MailMessage Dim config As MailAttachment = New MailAttachment("c:\test1\test.txt") wiadomosc.Attachments.Add(config) wiadomosc.From = xxx@xxx wiadomosc.To = xxx@xxx wiadomosc.Subject = "..." wiadomosc.Body = "..." wiadomosc.BodyFormat = Web.Mail.MailFormat.Text System.Web.Mail.SmtpMail.SmtpServer = "xxxx.xxxx.xx" System.Web.Mail.SmtpMail.Send(wiadomosc) ///
Cor
Aha, done!
Thanks
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Armin Zingler" <az*******@freenet.de> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl... "Crirus" <Cr****@datagroup.ro> schrieb I cant find that namespace for mail!
At the bottom of the documentation of the class you want to use, you can find the assembly (containing the class) to be referenced.
-- Armin
http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ThanhVu Nguyen |
last post by:
Hi all,
I need recommendation for a very fast shortest path algorithm. The
edges are all directed, positive weights. Dijkstra shortest path will
solve it just fine but the if the graph is not...
|
by: Steve Horrillo |
last post by:
I can't figure out why this script won't insert the subject in the email and
why can't I control the font and size being used? I'm not sure where to post
this. Let me know where if this is OT.
...
|
by: DigitalRick |
last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my
guestbook. It had been working fine untill I upgraded to Server 2003 (I am
also running Exchange 2003) all locally. I...
|
by: leezard |
last post by:
I am developing a program using VB.NET that will accept a start and end
point, the system then will generate the shortest path to reach the end
point. Anyone here have idea on doing this or some...
|
by: supz |
last post by:
Hi,
I use the standard code given below to send an email from an ASP.NET
web form. The code executes fine but no Email is sent. All emails get
queued in the Inetpub mail queue.
I'm using my...
|
by: Shuch |
last post by:
Hi all,
I am in shortage of time...and i want to know if someone has a code
written in c++ or c for finding the shortest path using stack or
queue??????my specifications r as follow:
Input...
|
by: costantinos |
last post by:
Hello. I have implemented the Dijkstra shortest path algorithm, it
works fine but I have one question on how I can improve something.
I want to find all the possible shortest paths from a node...
|
by: =?Utf-8?B?dHBhcmtzNjk=?= |
last post by:
I have a web page that at the click of a button must send a bunch (1000+)
emails. Each email is sent individually. I have the code working fine,
using Mail Message classes and smtp and all that. ...
|
by: vivek |
last post by:
Hello,
I have a pointer to a main structure which again consists of
structures, enums, char, int, float and again complex structures.
When i free all the contents of the main structure, it...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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...
| |