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 › [Request] Gmail eMail Sending Source Code

[Request] Gmail eMail Sending Source Code

Posts 1–6 of 6 · Page 1 of 1
DE
deocute
[Request] Gmail eMail Sending Source Code
the codes im using now is obselete,

i always get the authentication error,

so any1 has working code for gmail email sending?
#1 · 16y ago
NextGen1
NextGen1
You cannot use Gmail, it has nothing to do with the code, has to do with using relay's, almost know popular email will allow the use of relays anymore.

Your settings
Pop.gmail.com
smtp.gmal.com
securessl
Port - 995
port 465

But does not matter anymore.

Your best bet is to use outlook controls or a email provider who allows relays
#2 · 16y ago
TE
TehKiller
im using gmail for sending emails through my app o__O just need an account and the ability to understand the system.net.mail stuff(might not be system.net.mail, I dont code VB and its been some time I last used it in c#)
#3 · 16y ago
NextGen1
NextGen1
What are you using for Client Port? 587?
#4 · 16y ago
Hell_Demon
Hell_Demon
using System.Net.Mail;

then stick this under a button:

Code:
            MailMessage message = new MailMessage(); //new message

            message.From = new MailAddress("youremail@gmail.com"); //your email
            message.To.Add(new MailAddress("victimsemail@wtfbbq.com")); //victims email

            message.Subject = "The subject"; // subject
            message.Body = "The content of the email"; // content
            SmtpClient client = new SmtpClient(); // create a new smtp client
            client.Host = "smtp.gmail.com"; // gmail smtp server
            client.Port = 587; //gmail smtp port
            client.EnableSsl = true; //gmail smtp requires Ssl to be enabled
            client.UseDefaultCredentials = false; // do not use the default credentials
            client.Credentials = new System.Net.NetworkCredential("youremail@gmail.com", "yourpassword"); // the credentials it should use to log in
            client.Send(message); //send the mail
its C# but converting it shouldnt be a problem unless you're a complete failure
#5 · edited 16y ago · 16y ago
NextGen1
NextGen1
So client port is 567, I'm one to admit when I'm wrong, but didn't google close port 567, indefinitely

I thought they stopped relays altogether because of all the gmail smtp relay spammers that exist, if you run a 3rd party created software which uses port 576 (you should, unless it has changed) get a authentication error.

But again, I could be wrong, this was about a year or so ago

If the code works, it would be

Converted From Hell_Demons' C Code
Code:
Dim message As New MailMessage()
Message.From = New MailAddress("youremail@gmail.com")
Message.[To].Add(New MailAddress("victimsemail@wtfbbq.com"))
Message.Subject = "The subject"
Message.Body = "The content of the email"
Dim client As New SmtpClient()
Client.Host = "smtp.gmail.com"
client.Port = 587
client.EnableSsl = True
client.UseDefaultCredentials = False
client.Credentials = New System.Net.NetworkCredential("youremail@gmail.com", "yourpassword")
client.Send(message)
#6 · edited 16y ago · 16y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • (REQUEST)Drop down menu source code?By IownzDAworldz in Combat Arms Hack Coding / Programming / Source Code
    13Last post 16y ago
  • Can i Request a Good Injector Source Code?By InCapacitated in CrossFire Hack Coding / Programming / Source Code
    9Last post 15y ago
  • [Request] RAT client/server source code for C++By eliteCVDelite in General Hacking
    4Last post 15y ago
  • [Request] Source Code For AFK Bot 4 CABy JIGS4W in Visual Basic Programming
    2Last post 16y ago
  • [Request] Source Code DLL Injector (Text) - VB 2008 CodesBy deocute in Visual Basic Programming
    1Last post 16y ago

Tags for this Thread

None