Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Easy][VB2008 Tutorial, Beginner friendly] Sending a Email using SMTP

Exclamation[Easy][VB2008 Tutorial, Beginner friendly] Sending a Email using SMTP

Posts 1–6 of 6 · Page 1 of 1
apezwijn
apezwijn
[Easy][VB2008 Tutorial, Beginner friendly] Sending a Email using SMTP
== Things Needed ==
Visual Studio/Basics 2008
1 Gmail account (http://gmail.com)
The preformance of not just copy pasting.

== Quick Explenation ==
I got this code from youtube, youtube is also a good source to learn visual bisics these days.
I understand this code if you have some 'simple questions' (not like you gonna test me or whatever if your bored, i mean just real meant qustions) just ask them.

== Start of Tutorial ==

Create a new visual basics project in vb2008.
'File> New Project (ctrl + N)'
select 'Windows Form Application'
Im naming my project 'SMTP Emailer'
Create a label and change the 'text' to 'Subject', screenshot:

Making a label:


Changing label text:


Now create 2TextBoxes

Creating a TextBox:


Select the second TextBox and press the litle black icon and select 'Multi line'

Enabling Multi Line:


Go to TextBox2 Properties (the TextBox we just added multiline too)
Click on the textbox and then look at the right side,
Give Scrolls the value of Vertical.

Giving a TextBox a vertical scroll:


Add a Button, go to the properties and change the text to 'Send'

Adding a button:


Your form should form should look something like this:

1 Label
2 TextBoxes
1 Button

== Next ==
Now double click button1 and add the following code lines:
Code:
Dim MyMailMsg As New MailMessage
        Try
            MyMailMsg.From = New MailAddress("smtplogger@gmail.com")
            MyMailMsg.To.Add("i.aint.on.drugs@gmail.com")
            MyMailMsg.Subject = TextBox1.Text
            MyMailMsg.Body = TextBox2.Text
            Dim SMTP As New SmtpClient("smtp.gmail.com")
            SMTP.Port = 587
            SMTP.EnableSsl = True
            SMTP.Credentials = New System.Net.NetworkCredential("smtplogger@gmail.com", "apenenu12")
            SMTP.Send(MyMailMsg)
            TextBox2.Text = ""
            MsgBox("Your email has been succesfully send, created by Apezwijn", MsgBoxStyle.Information, "Succes!")
        Catch ex As Exception
        End Try
Your not done yet!
Add the top of your code, abouve 'Public Class Form1' add this code line:
Code:
Imports System.Net.Mail
Almost Done!
Go to 'File>Save All (ctrl + shift + s)'
Save it.
Then go 'Build>Build SMTP Emailer'
It says Build SMTP Emailer cos my project name is SMTP Emailer.

Tutorial Created by Apezwijn
Credits: Apezwijn
You have my premission to post this tut anywhere else with my credits.
#1 · 18y ago
DE
Dead Bones Brook
wat is SMTP en wat is het nut om een email via dat te verzenden? :O
#2 · 18y ago
apezwijn
apezwijn
Quote Originally Posted by Dead Bones Brook View Post
wat is SMTP en wat is het nut om een email via dat te verzenden? :O
Talk english on these forums

Translation:
What is SMTP en whats the use to use it to send emails,

Awnser:
SMTP = Simple Mail Transfer Protocol

More info: Simple Mail Transfer Protocol - Wikipedia, the free encyclopedia
Wikipedia
#3 · 18y ago
rwkeith
rwkeith
Nice tut but what would be better is if you explained the parts of the source code a little
#4 · 18y ago
PE
pedrobester
Tnx a lot this work very fine!!!

but u need to the explain parts of source code... but nice onde good job!!
#5 · 18y ago
Sjoerd
Sjoerd
Quote Originally Posted by Dead Bones Brook View Post
wat is SMTP en wat is het nut om een email via dat te verzenden? :O
wow a real nab using dutch in a english forum :@

lol ty for the tut
#6 · 17y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • need easy walkthrough tutorials for c++By true1playa in Programming Tutorial Requests
    13Last post 18y ago
  • Easy Camo TutorialBy Hysteria in Combat Arms Mod Tutorials
    15Last post 15y ago
  • [Tutorial] Beginners guide to making a websiteBy Ariez in General
    1Last post 17y ago
  • So my friend Sended Me....By yoda23456 in Call of Duty Modern Warfare 2 Discussions
    8Last post 15y ago
  • How can I have someone send a email to mine?By o0OpurezO0o in Visual Basic Programming
    26Last post 15y ago

Tags for this Thread

#beginner#easyvb2008#email#friendly#sending#smtp#tutorial