tutorial to create a easy safest way email sender.
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
Hello friends,
a little Thanks To Codenstuff because of him i can make this come true loove;
What You Need:
* Vb.net --> any version you have
* Start New Project
* Name the project what you like.
Started:
for reference add this file:
System.Web.dll
IMPORTANT IF YOU USE VB.NET 2010
Go to Project Properties, Compile ---> [Advanced Compile Options...]
Press that and change -->Target Framework (all configuration)
Change .NET Framework 4. Client Profile
To .NET Framework 4
Make a Module.
Put this code in there:
now open Form1
add 4 Textboxen
4 Labels
1 Button
take the TextBox4 and set as multilines.
Text the labels:
to:
From:
Subject:
Message:
Function Button:
Have fun
no more password to save in your projects.
a little Thanks To Codenstuff because of him i can make this come true loove;
What You Need:
* Vb.net --> any version you have
* Start New Project
* Name the project what you like.
Started:
for reference add this file:
System.Web.dll
IMPORTANT IF YOU USE VB.NET 2010
Go to Project Properties, Compile ---> [Advanced Compile Options...]
Press that and change -->Target Framework (all configuration)
Change .NET Framework 4. Client Profile
To .NET Framework 4
Make a Module.
Put this code in there:
Code: Select all
Imports System.Net
Imports System.Text
Imports System.Web
Imports System.IO
Imports Microsoft.VisualBasic
Imports Microsoft.VisualBasic.CompilerServices
Module Module1
Public TTo As String
Public Fromm As String
Public MyMessage As String
Public MySubject As String
Public Sub Sendmail()
Try
SendDt.Clear()
SendDt.Add("txtTo", TTo)
SendDt.Add("txtSubject", MySubject)
SendDt.Add("txtDescription", MyMessage)
SendDt.Add("txtFrom", Fromm)
Interaction.MsgBox(("E-mail successfully sent to: " & TTo), MsgBoxStyle.OkOnly, "Email")
Catch exception1 As Exception
MsgBox("Unable to send email", MsgBoxStyle.OkOnly, "Email")
End Try
End Sub
End Module
now open Form1
add 4 Textboxen
4 Labels
1 Button
take the TextBox4 and set as multilines.
Text the labels:
to:
From:
Subject:
Message:
Function Button:
Code: Select all
Thats it :lol: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TTo = TextBox1.Text
Fromm = TextBox2.Text
MySubject = TextBox3.Text
MyMessage = TextBox4.Text
Sendmail()
End Sub
Have fun
no more password to save in your projects.
Last edited by Dummy1912 on Sat Jun 23, 2012 12:43 pm, edited 3 times in total.
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
There are a few finished tutorials on this subject.
mandai wrote:There are a few finished tutorials on this subject.
Excuse me? what you mean
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
mandai wrote:There are a few finished tutorials on this subject.We all know that, but that can't stop any of us from posting tuts we made ourselves. Please stop making such rude comments as they hurt the feelings of other members. I know that cuz I've had problems with you in the past. I don't to start it all again.
Hey this isn't rude. It's helpful if you are looking for something thats finished.
@comathi This is not bringing people down, you misunderstand.
@comathi This is not bringing people down, you misunderstand.
Last edited by mandai on Fri May 18, 2012 10:43 pm, edited 1 time in total.
I think what mandai was saying is that this tutorial is incomplete and I agree because all it is doing is importing some libraries and you should edit/add the rest of it as soon as possible because as it is it doesnt do anything :?
Some poor soul could be sat at home now on their computer having followed this tutorial since 10:30am this morning twitching in their chair and banging their head on the keyboard waiting for the rest of it lol.
Some poor soul could be sat at home now on their computer having followed this tutorial since 10:30am this morning twitching in their chair and banging their head on the keyboard waiting for the rest of it lol.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
i am sorry guys
didn't really know what mandai was trying to say.
but yes codenstuff i understand it correct.
i was planning to finished it but didn't had the time.
sorry :(
ill finished it soon promise
didn't really know what mandai was trying to say.
but yes codenstuff i understand it correct.
i was planning to finished it but didn't had the time.
sorry :(
ill finished it soon promise
CodenStuff wrote: Some poor soul could be sat at home now on their computer having followed this tutorial since 10:30am this morning twitching in their chair and banging their head on the keyboard waiting for the rest of it lol.omg; i hope not :lol:
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
mandai wrote:Hey this isn't rude. It's helpful if you are looking for something thats finished.
no worries mate
none taken loove;
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
tutorial has been updated :lol:
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
mandai wrote:Hey this isn't rude. It's helpful if you are looking for something thats finished.Sorry for the misunderstanding...
@comathi This is not bringing people down, you misunderstand.
Copyright Information
Copyright © Codenstuff.com 2020 - 2023