| |
|
|
yousaid
: On
August 29, 2008 9:12 AM
said:
|
Hello Chris, The download links are crossed. The VB link points to C# and the C# points to VB. cheers, yousaid
|
|
|
|
ckycn
: On
August 29, 2008 11:38 PM
said:
|
not bad,the file name is clear.i get it. thanks.
|
|
|
|
SteliosM
: On
September 01, 2008 1:44 AM
said:
|
Excellent!! It will be very handy to learn also how to use the collections. Thanks Chris.
|
|
|
|
dw.egun1
: On
September 01, 2008 2:30 AM
said:
|
Very nicely done. It's good video for me. Thanks
|
|
|
|
houser1
: On
September 02, 2008 9:57 AM
said:
|
Hi thanks for video it is very helpfull but i don't know how to make it on Vista. do you know some place where "yellowhead" like me can teach how to make it on Vista?
|
|
|
|
houser1
: On
September 02, 2008 9:58 AM
said:
|
sorry i don't write why? because Vista haven't got some mailClient
|
|
|
|
abelanet
: On
September 02, 2008 12:40 PM
said:
|
|
|
|
|
|
gbeford
: On
September 02, 2008 12:51 PM
said:
|
Why are all the learning videos in VB ?
|
|
|
|
aslesh
: On
September 03, 2008 10:22 AM
said:
|
|
|
|
|
|
asater
: On
September 03, 2008 1:38 PM
said:
|
Please, why they have to be in VB all the time? Thank you
|
|
|
|
RajibRoy
: On
September 04, 2008 2:39 AM
said:
|
Hi, I am developing a newsletter system. You can check it from www.schooluae.com/home.aspx But when i am sending email from webserver it shows SMTP error. but when i am send from my laptop it is ok. In webserver i have used their smtp Please help me Rajib www.rajibroy.info
|
|
|
|
RajibRoy
: On
September 04, 2008 2:52 AM
said:
|
Hi, Another question, if my smtp server required Authentication(username & Password) so how i will provide that. Waiting for the response. Rajib http://www.rajibroy.info
|
|
|
|
funluckykitty
: On
September 04, 2008 2:00 PM
said:
|
Very nice.. wonder why no use of "Imports System.Net.Mail"
|
|
|
|
dw.egun1
: On
September 16, 2008 2:27 AM
said:
|
Nicely done. It's very helpful. Thanks.
|
|
|
|
v.hosseini2008
: On
September 16, 2008 8:06 AM
said:
|
Thanks for video.It's very helpful.
|
|
|
|
Lily Wang
: On
September 23, 2008 10:21 AM
said:
|
Thanks so much for this video. Can you also show us how to handle the attachment size check before attaching it to the e-mail. I found the program doesn't even throw an exception when user attachs large size e-mail. It just dies... thanks!
|
|
|
|
CrispinH
: On
September 24, 2008 12:39 PM
said:
|
This example works fine when I use my local Exchange Server but when I use the SMTP server on a Windows Server 2008 box on the same domain (this is my own remote web server over which I have total conrol), I get "Unable to read data from the transport connection: net_io_connectionclosed". I've tried no credentials, default credentials and specific credentials. How do I make this work?
|
|
|
|
www.ildw.com
: On
September 24, 2008 7:46 PM
said:
|
how do I redirect the user when the email has been sent to a thank you page, and when the email has not been send to an error page?
|
|
|
|
samuel24
: On
September 30, 2008 4:01 AM
said:
|
VB code n C# code is interchanged k but even i have some error in mail
|
|
|
|
diego40
: On
October 03, 2008 7:41 PM
said:
|
I have this Server Error Application No connection could be made because the target machine actively refused it ... It is something about my smtp server?? Someone knows a smtp server that I can use to test it?
|
|
|
|
neerav
: On
October 05, 2008 1:22 AM
said:
|
Can u exlain me how to create inbox in ur next video ?
|
|
|
|
Pakistan
: On
October 11, 2008 6:17 AM
said:
|
|
|
|
|
|
lgbaustin
: On
October 17, 2008 9:54 AM
said:
|
Thanks for this video .. it is so easy on the eyes. You have a good teaching style.
|
|
|
|
jimmyo1979
: On
October 22, 2008 11:56 AM
said:
|
Both code downloads contain the VB lanugage. Do you have a C# version of the code?
|
|
|
|
Bluetip
: On
November 05, 2008 12:25 PM
said:
|
Can we have the C# code ?
|
|
|
|
foote.greg
: On
November 07, 2008 3:30 PM
said:
|
Hi Chris, I have successfully set up my createuserwizard and the finish step that sends the email works correctly and the email is sent. However when i try and implement the password recovery wizard that sends an email to the user the email is blocked by the smtp server with this message: Mailbox unavailable. The server response was: Authentication is required for relay how can one of these be denied and the other not ? don't they both use the smtp settings in the smtp section of the web.config file ? Here is that section of the web.config file: <!-- Add the email settings to the <system.net> element --> <system.net> <mailSettings> <smtp from="webMaster@aaaSite.com"> <network host="mail.aaaSite.com" userName="usernameValue" port="25" password="passwordValue" /> </smtp> </mailSettings > </system.net> Thanks Greg
|
|
|
|
leksodav
: On
November 09, 2008 7:32 AM
said:
|
source code links are swapped :) vb->cs
|
|
|
|
|
|
ZenTrickz
: On
November 10, 2008 6:22 PM
said:
|
Links are not crossed. They are both in VB
|
|
|
|
apkamble
: On
November 17, 2008 11:16 AM
said:
|
The VB & the C# links both download the VB version of this application.
|
|
|
|
ruce
: On
December 01, 2008 1:35 AM
said:
|
No connection could be made because the target machine actively refused it XXX.0.0.1:25 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it XXX.0.0.1:25 Source Error: Line 18: Dim smtpClient As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient() Line 19: Line 20: smtpClient.Send(mailMessage) Line 21: Line 22: End Sub Your example didn't work for me do you know were I went wrong???
|
|
|
|
sandhyavanga
: On
December 02, 2008 1:43 PM
said:
|
i am not understanding about the host in smtoClient.Can i use my system IP address as host?Can u tell me about host?
|
|
|
|
|
|
tzahler
: On
December 09, 2008 10:46 AM
said:
|
Actually both of the code examples are in VB... neither has C#.
|
|
|
|
rhoyle
: On
December 10, 2008 6:09 PM
said:
|
Hi Chris, loved the demo, even the video was up to your normal quality. however the code for C# is missing hope you can fix this problem soon. Thanks
|
|
|
|
rami_nassar
: On
December 24, 2008 10:27 AM
said:
|
hey, is it possible to use hotmail or gmail SMTP server to send e-mails through my web site???? cause it always gave me errors
|
|
|
|
cruxproned
: On
December 25, 2008 3:58 PM
said:
|
I am really thankful to Mr. Chris Pels for the above information. Information was short, simple and complete. Excellent!
|
|
|
|
|
|
agrawalbs
: On
December 30, 2008 12:11 AM
said:
|
|
|
|
|
|
boyfunky007
: On
January 12, 2009 1:45 AM
said:
|
i need help, what exactly should be my network host: i tried using mail@yahoo.com but gave me an error saying remote server could not be reached. i then tried using my IP Address and i didn't get any error but i didn't receive the email i sent. what am i supposed to do? .
|
|
|
|
dotnetruler
: On
January 23, 2009 9:59 PM
said:
|
Why are all the learning videos in VB ?
|
|
|
|
fishbonez
: On
January 26, 2009 12:54 AM
said:
|
Hi Chris! i have followed your video guide and was able to create a interface and those smtp setting without error. However, when i view them in browser, and clicked on the "send" button, i didnt recieve any messages in my directed mail account. Thanks!
|
|
|
|
bohunt
: On
February 13, 2009 5:40 PM
said:
|
Very useful video, thanks!
|
|
|
|
voldy2
: On
February 22, 2009 8:44 AM
said:
|
Hi there It would be really useful if we could have the c# code too. Cheers!
|
|
|
|
marijuana
: On
February 27, 2009 3:18 AM
said:
|
there is no c# code here. link is broken
|
|
|
|
mustak173
: On
April 26, 2009 12:41 AM
said:
|
Here is the c# code for the code behind file Default.aspx.cs --------------- using System.Net.Mail; protected void btnSend_Click(object sender, EventArgs e) { //Create instance of main mail message class. MailMessage mailMessage = new MailMessage(); //Configure mail mesage //Set the From address with user input // mailMessage.From = New System.Net.Mail.MailAddress(txtFromAddress.Text.Trim()) //Get From address in web.config mailMessage.From = new MailAddress(ConfigurationManager.AppSettings["fromEmailAddress"]); //Another option is the "from" attirbute in the <smtp> element in the web.config. //Set additinal addresses mailMessage.To.Add(new MailAddress(txtToAddress.Text.Trim())); //mailMessage.CC //mailMessage.Bcc //mailMessage.ReplyTo //Set additional options mailMessage.Priority = MailPriority.High; //Text/HTML mailMessage.IsBodyHtml = false; //Set the subjet and body text mailMessage.Subject = txtSubject.Text.Trim(); mailMessage.Body = txtBody.Text.Trim(); //Add one to many attachments //mailMessage.Attachments.Add(New System.Net.Mail.Attachment("c:\temp.txt") //Create an instance of the SmtpClient class for sending the email SmtpClient smtpClient = new SmtpClient(); //Use a Try/Catch block to trap sending errors //Especially useful when looping through multiple sends try { smtpClient.Send(mailMessage); } catch(SmtpException smtpExc) { //Log error information on which email failed. } catch(Exception Exception) { //Log general errors } }
|
|
|
|
i08000657
: On
May 03, 2009 3:43 PM
said:
|
please i don no how to know my host can some explain 2 me the steps and how to set the port and password
|
|
|
|
wael34218
: On
June 02, 2009 2:47 PM
said:
|
How many emails i can send per day? Is there a limit ?
|
|
|
|
dom4fun
: On
June 11, 2009 6:44 PM
said:
|
Hi Chris, Great video thanks. I am having one issue with the attachment piece. It seems I can not get the attachment to work when I use a folder on my C drive typing the string in as you did in your video. Error comes up with file not found even though I know it's there. I did discover that if I take the path out and just attach a file name, it looked in the 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE' folder. Once I put my file there, everything worked perfectly. I am sure there is some way to change this to the path I need but I can't find where to do this. Any help would be appreciated. Thanks!
|
|
|
|
dczaja
: On
June 23, 2009 2:27 AM
said:
|
The C# code works perfectly from dev environment. When I load to the production, web server I get an error: "Failure Sending Email". Any thoughts? Thanks!
|
|
|
|
Nourayn
: On
July 06, 2009 9:56 AM
said:
|
good video but when I used c# code , no errors no exceptions but no mail is recieved !!! what the problem ?
|
|
|
|
stanly
: On
August 25, 2009 9:07 AM
said:
|
Hi I need to send automated mail periodically.... any idea?
|
|
|
|
stanly
: On
August 25, 2009 9:08 AM
said:
|
|
|
|
|
|
yasin_smd
: On
September 28, 2009 10:11 AM
said:
|
network host means www.domain.com or mail.domain.com? confusion.
|
|
|
|
yasin_smd
: On
September 28, 2009 10:47 AM
said:
|
i'm getting error Pls help System.Net.Mail.SmtpException was caught Message="Error in processing. The server response was: spamhaus-xbl - Blocked - 168.187.142.33" Source="System" StackTrace: at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at _mail.btnSend_Click(Object sender, EventArgs e) in C:\Users\Transparent\Desktop\SC-VB-Send Email_cs\WebSiteVB\mail.aspx.vb:line 44
|
|
|
|
groove
: On
October 15, 2009 3:09 PM
said:
|
Both files have VB code behind the scenes...
|
|