Results 1 to 6 of 6
  1. #1
    deocute's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    Philippines
    Posts
    29
    Reputation
    10
    Thanks
    0

    [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?

  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    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


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. #3
    TehKiller's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    10
    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#)

  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    What are you using for Client Port? 587?


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. #5
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    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
    Last edited by Hell_Demon; 01-15-2010 at 01:17 PM.
    Ah we-a blaze the fyah, make it bun dem!

  6. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    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)
    Last edited by NextGen1; 01-15-2010 at 01:39 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Request] RAT client/server source code for C++
    By eliteCVDelite in forum General Hacking
    Replies: 4
    Last Post: 02-24-2011, 02:01 PM
  2. Can i Request a Good Injector Source Code?
    By InCapacitated in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 9
    Last Post: 10-05-2010, 07:41 AM
  3. (REQUEST)Drop down menu source code?
    By IownzDAworldz in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 06-18-2010, 09:29 AM
  4. [Request] Source Code DLL Injector (Text) - VB 2008 Codes
    By deocute in forum Visual Basic Programming
    Replies: 1
    Last Post: 10-21-2009, 12:16 AM
  5. [Request] Source Code For AFK Bot 4 CA
    By JIGS4W in forum Visual Basic Programming
    Replies: 2
    Last Post: 10-06-2009, 08:33 AM