Exchange Email Reply Between Set Time Every Day
Jan 26, 2011
I have to set our support email to send an out of office reply between 6pm and 8am every day and then for the entire weekend. I come to find out exchange does not support this. Is it possible to write a "service" that I can load up on a machine that monitor the support email then send an auto reply if it is between 6pm and 8am? Basically it would just be a lite weight email client that only does anything outside of business hours.
View 1 Replies
ADVERTISEMENT
Mar 31, 2010
I receive info requests through email, generated from a web form, which I cant touch, I would, but I can't cos it's an external service. These emails have assigned differents template replies, which I, manually, use to answer them. For this company, this is obvious. For me is a machine work, it¡s totally automatic. So, why don't I set up a rule in Outlook? Because the reply-to address doesn't match with the real one. As it comes from our own server, the reply-to address is our own address.
i just have to answer with different specific templates I already have depending on different fields in the message and send this to an address that is also in one of these message fields. For more data, here is one of the messages I could receive:
[Code]....
View 2 Replies
Feb 24, 2012
I'm working on a VB.Net application that extracts emails from an Exchange inbox and then does various things with them. I want it to treat out-of-office auto-replies differently to everything else, so I was hoping someone might know how to identify them.
Obviously, I could simply look to see if the message subject starts with "Out of Office:", but that seems a bit sloppy to me. There's clearly a more accurate way to identify them, because in Outlook, an auto-reply has a different icon to a normal email that simply has "Out of Office:" at the beginning of the subject.
I'm using the component Independentsoft.Webdav.Exchange.dll to handle the email side of things, but I couldn't find anything obvious there.
View 4 Replies
Oct 8, 2008
i ma trying to send email using a exchange server i am in intranet i can use the same code to send email using gmail smtp a/c but when i try using the exchanger server inside my network it fails here is the exception i get
SOURCE: SystemMESSAGE: Failure sending mail.INNER EXCEPTION: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.10.100:25 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at
[code]....
View 7 Replies
Apr 29, 2010
I am developing an application which includes the ability to send email. The code works fine for sending internal emails but it fails: server unable to relay mail 5.7.1 when trying to send externally.
This is the code.
Public Shared Function SendEmail(ByVal SubjectText As String, ByVal BodyText As String, ByVal Recipient As String) As String
Dim msgClient As System.Net.Mail.SmtpClient
Dim msgTo As System.Net.Mail.MailAddress
Dim msgFrom As System.Net.Mail.MailAddress
[Code] .....
I get the same error if I change the password to something incorrect so I'm wondering if the NetworkCredentials are being ignored? I've seen articles where teh IP address of the server must be trusted by the SMTP server or it won't relay the mail but I thought I was doing the same as an email client such as Outlook with the code above: that can be used from any PC on the network without having to specify its IP address on the SMTP server.
View 6 Replies
Sep 25, 2009
I'm sending e-mail through an exchange-server with help of an smtp-connector. This works fine, but i'm wondering if it's possible to show those messages in the outbox of the user.
View 4 Replies
Nov 9, 2010
I'm allowing users to manage a distribution list stored in a database. Users are only allowed to enter emails that are @mydomain.com. A web based application then takes the distribution list and sends emails. I'd like to validate that the email is valid before sending an email from the application.
To send an email I'm using this code:
Dim SendTo As String = "ThisIsNotARealEmailAddress@mydomain.com"
Dim SentFrom As String = "me@mydomain.com"
Dim MessageBody As String = "blah blah blah"
[Code]....
Is there anyway to validate the email when the email address is added to the database, instead of a try catch block when sending the email?
View 1 Replies
May 11, 2012
I'm trying to use an Exchange Server to send emails from asp.net web application and atm the mail is getting stuck in the drafts folder and not being sent.Emails are being sent fine if i send them using browser or outlook directly. Also if i go to the drafts folder and manually send the vb.net created emails they re being sent and received fine aswell, but that isn't a long term option.
[Code]...
View 2 Replies
May 11, 2012
I'm trying to use an Exchange Server to send emails from asp.net web application and atm the mail is getting stuck in the drafts folder and not being sent.Emails are being sent fine if i send them using browser or outlook directly. Also if i go to the drafts folder and manually send the vb.net created emails they re being sent and received fine aswell, but that isn't a long term option.Here is the relevant part of the code i m using.
Try
Dim service As ExchangeService
Dim service As New ExchangeService(ExchangeVersion.Exchange2007_SP1)
[code].....
View 3 Replies
Dec 23, 2011
I tried to put just the name of the in the .To but that didn't work. Could someone please point me in the direction or show me how to do it?EDIT: My Code is Below...
Dim Subject as String = "Services for " & date.today.string
Dim Body as String = strHTML (defined elsewhere on form)
Dim oApp as Outlook._Application
[code]....
I didn't copy or paste as the code is on a second computer and that one isn't network connected. I typed it in, so there may be a typo or two. When this code is executed, nothing is sent.
View 4 Replies
May 10, 2009
Using Vb.net 2003 Sql Server 2005 Asp.net 1.1..If I were to make a forum site and I had alot of visitorsdaily, like 300,000.I also had many categories such as this site.Would it be better to have a Reply table for each category orhave only one Reply table for the whole site.The same for Question table, although the questions would be numerousit would be smaller than the Reply table.Also if anyone has a Database Diagram,or Schema of a large forum I like to take a lookat one have'nt seen any online for a forum.
View 7 Replies
Aug 3, 2009
Yes, you read it right! Exchange Server 2000. I want to create a script that retrieve information(ie. Last Access Time) of all the files that are place within the public folder of the Exchange Server 2000.
View 2 Replies
Oct 7, 2009
I am trying to use CDO in VBScript to send email from one server to a separate exchange server
View 2 Replies
Apr 17, 2012
I want it so that at a certain time of the day, for example, 5pm, I want a email to be sent to the admin's email (adminemail@hotmail.com for example) just containing some numbers. How to get the program or show me some code to automatically send out an email at a specific time, and a follow-up question. Would this work if the program wasn't running.
View 1 Replies
Apr 8, 2009
I have spent at least 6 hours trying to write a program that will send emails to a constant list of email addresses. I was trying to make it so all that I need to type is the subject, body, and "nickname". I wanted to use the same email to send the message every time (yahoo or gmail address), and the recipients to be a constant list of emails.
View 3 Replies
May 21, 2012
We are testing some code to send email messages using Gmail from a form, but get a time out error.
Can you tell us what is missing from this code to get the email message sent?
Try
Dim SmtpServer As New SmtpClient()
Dim mail As New MailMessage()
SmtpServer.EnableSsl = True
SmtpServer.Credentials = New Net.NetworkCredential("ouremail@gmail.com", "MyPasswordGoesHere")
SmtpServer.Port = 465
[Code]...
View 1 Replies
Oct 31, 2011
I'm having problems with parsing the XML results that a webservices is sending me. Mostly due to the format this result is sent in. I can succesfully send a request and I get the response back in a string. Now the (truncated) result looks like this:
- <tr>
<td field="fin.trs.line.dim2" hideforuser="false" type="String">01249</td>
<td field="fin.trs.line.openbasevaluesigned" hideforuser="false" type="Value">-100.00</td>
[Code]....
This is where my problem starts. Because I've found various pieces of code that let me take out the nodes I need. So in the above example <Office> and <code> come out perfectly. But the problem appears when reading the other lines because they start with <td SPACE field=> etc etc. When I readout those lines all I get back is TD.
I need to specifically filter the results based on those TR/TD fields. I'm using an XMLreader and xmlnodetype to filter out the results, but maybe I'm using the wrong method.
View 1 Replies
Mar 16, 2012
How do I find an open Reply that I have lost?
View 1 Replies
Jun 17, 2007
i have the code below to ping an ip address, it works fine but Is there anyway i can include the reply times in the display or return the ping reply times in any shape or form for that matter ? preferable the average round trip time in ms is what i would like returned along with the ping result. anyone have any ideas or is it even possible to do within vb ?
[code]...
View 8 Replies
Jul 12, 2011
I am developing a vb.net program which shells to SmartRipper to do the actual ripping process and I need the process to run unattended. The problem I've just spent 4 days trying to resolve is to simply respond to a message box that pops up when SmartRipper starts but I'm not having much success at all.
When I try SendKeys.Send("{ENTER}") while debugging the program I get an error "changes are not allowed while code is running or if the option "break all processes when one process breaks is disabled". I don't know why the error message shows but I do have the option enabled as indicated how to eliminate it from showing.
I've been working on this for 4 days and now I'm just spinning my wheels.
' Declares
Private BM_CLICK As Integer = &HF5
Declare Auto Function SendMessage Lib "user32" (ByValhWndAsIntPtr,
[Code]....
View 9 Replies
Mar 29, 2010
I have the following code, and i would like to know how i can show the result i got from the post.
vb Imports System.IO
Imports System.Net
Module Module1
Sub Main()
' Send("http://yahoo.com")
[Code]...
View 2 Replies
Aug 8, 2010
I've an old vb6 ocx in order to show an msgbox with autoreply in n seconds.
rm = waitMsg("can't connect to host...",9,"*Retry","Cancel")
if rm = 2 then exit sub 'cancel
acts in same way of msgbox, but after 9 seconds (in the example) then auto click the Retry button (the default button, the one with * prefix). maybe I could convert this old ocx to net, but wondering if there is not an better alternative using messagebox.
View 5 Replies
Nov 30, 2009
currently i doing a sms service system using vb , can anyone tell me how or what code i can use to make the system auto reply when recieve an sms from a phone no
View 1 Replies
Nov 9, 2011
I'm trying to create a program that calls the command prompt, runs a line of text, needs to wait for a specific reply then moves on. Using the sleep command doesn't really apply in this particular situation because I need to wait for either reply A or reply B and move on accordingly. Most of the resources I find on this all refer to the sleep command. Sure there is a way to view a reply in the shell command and if reply A then do the rest...etc.
View 3 Replies
Jun 9, 2012
I haven't done any VB coding since school (15 years ago) but currently have a need to run what "sounds" a fairly simple app at work. I'm hoping some of you might be able to give me some pointers as to whether or not my idea is possible, and if it is, how best to approach it.
I work for a company where we send a number of standard emails to potential clients asking them to contribute to our magazine . if no response we then send a number of follow up emails. each and every time I send a new email to a new prospect I'm editing one of our template emails, putting their name and email address into outlook and manually sending emails. Then for every reminder I'm going back into outlook, clicking reply all and then c&p'ing our second or third reminder emails in each and every time. needless to say at least 2-3 hours of my day are spent editing and resending the same emails on outlook.
[Code]....
View 1 Replies
Jul 11, 2009
I am trying to make a program that will stop people on the same network being able to tale if im online by pinging my i.p adress aparantly the only way of doing this is to "drop icmp packets and not reply to them"
dose anyone know how to do this? and can anyone provide me with a basic script that will do this?
View 5 Replies
Jan 6, 2010
I am sending an email with an attachment using the following Code
Dim msg As New System.Net.Mail.MailMessage(req.EmailFrom, req.EmailTo)
Dim att As New System.Net.Mail.Attachment("C:Documents and SettingsmichaelrDesktop1216259.pdf")
With msg
.Attachments.Add(att)
[code]....
The file size of the attachment is 396KB, upon the recipient receiving the email outlook shows the file size as 543Kb. Strange thing is if I send an email with the same attachment using outlook the file size is 396Kb.I understand that file sizes can increase due to the attachment being base 64 encoded as opposed to just raw binary.What I am failing to see is why outlook send a file which is 396KB in size but in code when sending it, the same file is 543Kb.
View 2 Replies
Jul 6, 2008
how would i implement a way that i would not hard code the email message that the application send to email recipients? how will i also include email message formatting (text in bold, italic, etc.)?
View 2 Replies
Feb 17, 2009
I'm trying to get my program to send very simple text email messages. I did do a search beforehand, and found that I was having the same issue as someone else, but the specific question I have was not answered --
I've learned that if you're trying to send mail, you need an SMTP server... I found this list here but every one of them I've tried yields the same "Failure sending mail" error.
Here's my
Dim mail As New MailMessage()
mail.From = New MailAddress("me@mycompany.com")
mail.To.Add("destination-email@whatever.com")
[CODE]...
Is the problem that I need to show "credentials" (i.e. user/pass)? If so, what would those credentials be? Can I use my yahoo email SMTP server with my login info to do it? And is this all I'd need to add to add the credentials?
smtp.Credentials = New NetworkCredential("MyUsername", "MyPassword")
(before the smtp.Send, of course)
View 4 Replies
Jul 15, 2010
A client for our company contains an apostrophe in their email name joe's@joe.com. I was advised that this is the correct and current email for the given client. Below is the Expression string I am using with Regex (which I copied from the internet somewhere) to validate email addresses. How can this expression be modified to allow/accept apostrohe's?
strRegex =
"^([a-zA-Z0-9_-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([a-zA-Z0-9-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$"
View 2 Replies