Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C#] Connection problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Sneak
Grandmaster Cheater Supreme
Reputation: 0

Joined: 05 Nov 2008
Posts: 1895

PostPosted: Fri Oct 02, 2009 9:31 pm    Post subject: [C#] Connection problem Reply with quote

I have a new error :O

current:

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Web.Mail;
using System.Net.Mail;
using MailBee.SmtpMail;
using MailBee.Security;

namespace Gmail
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Smtp mailer = new Smtp();
            SmtpServer server = new SmtpServer("smtp.gmail.com", "[email protected]", "password");
            server.SslMode = SslStartupMode.UseStartTls;
            mailer.SmtpServers.Add(server);
            mailer.From.Email = "[email protected]";
            mailer.To.Add("[email protected]");
            mailer.Subject = "Lockerz";
            mailer.BodyPlainText = textBox1.Text;
            mailer.Send();
        }
    }
}


Meant to: Send an email from my fake email account to my real one, which the body has textbox1.text's text.

I have no errors, except when im debugging, i get this error:

Code:
 Remote host is unreachable. InnerException message follows: A socket operation was attempted to an unreachable network 74.125.65.109:25

_________________
Back to top
View user's profile Send private message
coasterguy26
Expert Cheater
Reputation: 0

Joined: 09 Apr 2006
Posts: 180

PostPosted: Fri Oct 09, 2009 6:30 pm    Post subject: Reply with quote

Gmail requires authenticated outgoing ports.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites