automated mail
-
i have a report generating system of some employees.when they r using the punching card their details will be stored in the database according to their id number.the report will be stored in some folder.after some timeperiod(we can set the time) the report should automatically send to the outbox of the employee's email id.(as we have stored employee's e mail id coresponding to his emp id.) what is the code for this?pls explain the logic also.
"I am burning...the only thing rest in me is you..."
-
i have a report generating system of some employees.when they r using the punching card their details will be stored in the database according to their id number.the report will be stored in some folder.after some timeperiod(we can set the time) the report should automatically send to the outbox of the employee's email id.(as we have stored employee's e mail id coresponding to his emp id.) what is the code for this?pls explain the logic also.
"I am burning...the only thing rest in me is you..."
State your question clearly. Are you asking how to send an e-mail using VB.NET?
-
State your question clearly. Are you asking how to send an e-mail using VB.NET?
-
i am asking how to send e mail(a text file attachment stored in the system) using vb,there we can set the time to send.
"I am burning...the only thing rest in me is you..."
This is how I send e-mails using Gmail[^] (the code is in C#, but I guess you'll work it out). MailMessage has Attachments[^] property, so there should be no problem to attach a file.
accessred wrote:
there we can set the time to send
I think that you should use a timer in your application to send e-mail periodically.
-
i am asking how to send e mail(a text file attachment stored in the system) using vb,there we can set the time to send.
"I am burning...the only thing rest in me is you..."
I posted code for this a few questions ago: http://www.codeproject.com/script/comments/forums.asp?msg=2286822&forumid=1646#xx2286822xx[^]
If my help was helpfull let me know, if not let me know why. The only way we learn is by making mistakes.
-
I posted code for this a few questions ago: http://www.codeproject.com/script/comments/forums.asp?msg=2286822&forumid=1646#xx2286822xx[^]
If my help was helpfull let me know, if not let me know why. The only way we learn is by making mistakes.
-
will this automatically attach the report while sending? anyway thanks very mch 4 ur help. :)
"I am burning...the only thing rest in me is you..."
Dim s As New System.Web.Mail.MailAttachment("Insert path to file here in form of a string")
.Attachments.Add(s)--> adding a attachment to the message
If my help was helpfull let me know, if not let me know why. The only way we learn is by making mistakes.
-
Dim s As New System.Web.Mail.MailAttachment("Insert path to file here in form of a string")
.Attachments.Add(s)--> adding a attachment to the message
If my help was helpfull let me know, if not let me know why. The only way we learn is by making mistakes.