 |
|
|
 |
|
|
 |
|
 |
hi evey body
i want send file in c++ but i don't know code.if any you have code it.please post in this site and mail for me.mail to misa_qn@yahoo.com.vn
thank you
|
|
|
|
 |
|
 |
www.example-code.com/vcpp/FileAttachment.asp
|
|
|
|
 |
|
 |
hi
i want to send mail using C# but i cant
this is my code:
MailAddress from = new MailAddress("negin_sarkhosh22@yahoo.com", ":: safir187.com ::");
MailAddress to = new MailAddress("sara_sarakhanom22@yahoo.com", ":: tnz187 ::");
MailMessage message = new MailMessage(from, to);
message.Subject = "Safir187.com is updated!";
message.IsBodyHtml = true;
message.Priority = MailPriority.High;
message.Body = "wedqwe";
SmtpClient client = new SmtpClient("localhost");
client.Send(message);
please tell me my mistake
thanks
|
|
|
|
 |
|
 |
>> SmtpClient client = new SmtpClient("localhost");
Do you have a SMTP service running on your machine? I guess not.
You can easily google simple smtp server applications that don't require installation.
|
|
|
|
 |
|
 |
I need to send a message between two mails in yahoo.com
But I don't konw what can I write to textBox of SMTP
Help ,Please !
programet_nje@hotmail.com
|
|
|
|
 |
|
 |
I need to send a message between two mails in yahoo.com
But I don't konw what can I write to textBox of SMTP
Help ,Please !
|
|
|
|
 |
|
 |
hi,
can anyone temme abt the code written in c # for sending mail throgh SMTP s dependent on any mail client????
s ter any code for doin the same in C++????
kidly help.
thanks.
|
|
|
|
 |
|
 |
hello
ia have problem with this code .
when i want to run this program it throws an unhandeled exception in this line
TcpClient SmtpServ = new TcpClient(ServSMTP.Text.Trim(), 25);
it seems that it couldnt make tcp client
please guide me
mohsen
|
|
|
|
 |
|
 |
Hi everyone,
I've found this code that can send SMTP commands via sockets (25).
The problem is when I send the command: "rcpt to:whatever@yahoo.com", I get a server response: "503 This mail server requires authentication ...".
Is there a way to create this authentication, to make this happen?
Thanks in advance,
Danny
|
|
|
|
 |
|
 |
I want to attach file to an e-mail.
How can I do it?
|
|
|
|
 |
|
 |
View the RFC 821 specs. It will tell you how to organize it.
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
 |
|
 |
In the code there is line:
Data = "HELLO server " + CRLF;
1.
It would be nice to point that instead of "server" there should be real server. E.g. it can be 127.0.0.1
2.
HELLO should be HELO
3.
It is critical that after server name there will be NO SPACES before CRLF
The example of correct line is:
Data = "HELO 127.0.0.1" + CRLF;
-- modified at 20:42 Wednesday 16th November, 2005
|
|
|
|
 |
|
 |
the code when uusing Send button its reusablwe for vc++, i have to send a mail in a console application to inform people who were late at the morning.
|
|
|
|
 |
|
 |
Hi,
I used this sample but the any message isnot arrive.
I don't know why.
Someone know how to attach a file?
I would like to knwo if i can define user in the server SMTP?
Tnak you for your help.
|
|
|
|
 |
|
 |
OpenSMTP.NET http://sourceforge.net/projects/opensmtp-net is recommended.
Regards,
unruledboy@hotmail.com
|
|
|
|
 |
|
 |
Too bad the project doesn't use BSD licensing, it's worthless for commercial work as it stands.
|
|
|
|
 |
|
 |
Wheather it is working in Windows 98
123
|
|
|
|
 |
|
 |
Certainly a stupid question but .....
What do we specify in the area of "SMTP server" ?
I suppose a SMTP server, but is a Standard SMTP server running on my system (Windows XP) ? How can I see that ?
What is a SMTP server ?
I believed that we have to send a text respecting the SMTP protocol to the port 25.
JMK
|
|
|
|
 |
|
 |
hi all,
I have an application sending mails but i am not able to specify my name in the field.the problem is that the recepient sees my whole e-id instead of my name.
can there be a property which i can use to resolve this problem.
plz help!!!!
|
|
|
|
 |
|
 |
The System.Web.Mail.SmtpMail does not support ESMTP.
If you want to auth login, you need to do so by using
the TCP client. And remember to convert the user name
and password to BASE64 code. Using the code below:
Convert.ToBase64String(Encoder.GetBytes(username))
can do the task.
|
|
|
|
 |
|
 |
how do you provide login information to TCP client
like how do u pass [login] and [password] to
ESMTP..
how do we write ESMTP program.
thanks..
|
|
|
|
 |
|
 |
Havo everybody made ESMTP Mailer? Also an SMTP Mail Service with Auth??
|
|
|
|
 |
|
 |
Hi,
actually I've learned that the message sequence for ESMTP is like below:
< TCP Connection to server >
S: 220 Welcome to (my smtp server).
C: EHLO (my smtp server).
S: List of supported ways
{
for example test smtp.gmail.com on port 587 in telnet.
result is:
220 mx.google.com ESMTP j9sm28589707bkd.2
EHLO *(you should send it again when you negotiate an ssl/tls connection)
250-mx.google.com at your service, [46.164.103.3]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
}
C: STARTTLS
S: 220 2.0.0 Ready to start TLS
< Here a ssl/tls connection should be negotiated. >
After negotiation you can do as normal smtp, but the data you send will be encrypted:
C: EHLO
S: Introduce yourself
C: AUTH PLAN ABCDEFG== *(Here you should send your password in base64 encoding)
S: 235 Authentication succeed.
C: Mail FROM: MyMail@MyServer.com
S: 250 Sender OK
and so on ...
But I have problem in establishing a secure connection to gmail esmpt.
I do not know how to exchange a secret key between my program and gmail!
So if you know the answer (in C# or java) please help me.
Hope it will be useful.
and after here you can continue with smtp protocol (mail from, rcpt to:, . . . )
|
|
|
|
 |