473,320 Members | 1,957 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Send out mails from SMTP PickupDirectoryLocation

Hi,

Am using SMTP client to send mails from asp.net and currently storing the mails to specified directory. Code is used to do this below.
Expand|Select|Wrap|Line Numbers
  1. SmtpClient client = new SmtpClient("mysmtphost"); 
  2. client.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory;
  3. client.PickupDirectoryLocation = @"C:\somedirectory";
  4. client.Send(message);
Now from a windows scheduler I have to send out the emails from the SpecifiedPickupDirectory.

Can anyone help me in this.

Thanks.
Sep 16 '11 #1
0 1562

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: tomtailor | last post by:
Hello! I'm migrating from pgSQL and WinXP to DB2 8.2 on SuSE 9.2 and I'd like to send E-Mails by triggers. I found some code for Java stored Procedures but I'm not able to get JavaDK running in...
1
by: Duy Nguyen | last post by:
how can I send mails from asp.net pages?
1
by: SenthilVel | last post by:
Hi all Does the namespace Sysytem.Web.mail use CDO's to send mails? ,,, Senthil
1
by: Anuradha | last post by:
Dear All I tried below method to send mails but when the mail sends it gives an error saying Dim mail As MailMessage = New MailMessage() mail.To = "anu@lanka.com" mail.From =...
0
by: Parul | last post by:
How could we send mails automatically using ASP.Net. I have to make a remainder of shows by which I can send notifications of remainder to the users before there shows starts.
0
iamnandagopal
by: iamnandagopal | last post by:
Hello Guys, I would like to know how to send mails programatically using C#. My mail server is an Microsoft Exchange. I dont have much idea about Microsoft Exchange. I would really appreciate...
7
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee...
1
by: mukesh1989 | last post by:
using CDOSYS i am able to send mails only to Gmail but not to the other mails why? and also in Gmail mail it will be in Spam folder if i say it is not spam also! please help me. sometimes it takes...
13
by: btreddy | last post by:
Hii all, I've been searching in the internet just to know abt SMTP server. Can anybody tell me how to configure the SMTP server and how can i send the mails and how could i check whether...
1
by: swetha123 | last post by:
hello, can any tell me how to send mails from site using mail() in php do we need to change in the php.ini these are in php.ini
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.