Custom GMail Vacation Auto-Responder (Using IMAP)

May 20, 2009

I've always found deeper-knowledge articles elsewhere, but your community is the most co-operative and your forum article-editor is the best.I'm a Systems Engineer who works in an Anonymous Company. My indirect supervisor (my boss's boss) wanted to have a custom GMail Vacation Auto-Responder that would:Have a list of involved GMail accounts.2- Connect to GMail and identify unread messages.3- Auto-Reply to the senders of those unread messages with a custom auto-reply template.Well, this could have been done easily using the GMail Atom Feed url... but since the atom only provides access to the very latest 20 unread messages, it could not be used for that purpose.

So, I had only one of two choices, either use POP3 or IMAP. Of course, IMAP was the right candidate for many considerations, the most prudent of which is its resourceful command-set. I had to design the tool (a Windows Service in this case) with minimal data transfer/session time in mind, because Google becomes touchy when you over-use IMAP with its servers.I was new to the whole Socket/IMAP thing, so I had to get my feet wet. I designed the tool, planned it well, and thought the best work-flow would go like this: Well, my boss's boss had some comments - that he never really declared which makes them IMPLICIT :D :D :D - on the way the tool works, but he decided to spell the word only when I announced that my proto-type code is done. He is not supposed to be technically involved - I mean into code - although he really involves himself into bits and bytes, and he has not even seen the code, not to mention that he might not fully understand it, but yet somehow he declared that what I did was a waste of time.[code]

View 5 Replies


ADVERTISEMENT

VS 2010 Email Auto-responder - Open New Email On Gmail?

Oct 12, 2011

I am development a small app for auto response all new emails with custom responses. My problem is that I don't know how open the email (make click on the subject link) on gmail. I am using web browser control, so I need to know how make click on the email titles for open each emails.

View 3 Replies

Pointers For A Web Sniffer/auto Responder?

Sep 11, 2011

I'm looking to make a simple web traffic sniffer that will automatically reply toauthentication requests from a predefined source, but I'm not entirely sure how tostart/what I am looking at my self here.I guess it's easier to explain if you have a short backstory;I use WebDAV, but Windows does NOT have good support for this (lacking Basic auth support, and Digest support being flawed at best), so you are forced to manuallyauthenticate with a username and password every time you open a file, when you start your computer or a word document (for example) loads resource such as images (imagine writing yoru username and password for every image in a powerpoint!).

View 2 Replies

Access GMAIL For Storage In Custom CRM Using SQL Server DB?

Mar 12, 2010

I have a client who wants his custom-written CRM to be able to access his sales people's emails so that, effectively, a history of email conversations between customer and salesperson is stored inside the CRM's database.

The CRM is written in VB 2008 and the database is SQL Server 2008. The only email these people use, in the shop and on the road, is GMAIL. Each sales person has their own GMAIL address. Thats how they operate.

If they're on the road and respond to a customer's email inquiry about a product, they would like that email conversation to be stored in a table in the database. I think thats the part I cant wrap my head around. How to get access to the email data (knowing the user id and password) and doing so from VB 2008

Update: A free or close to free solution would be preferred.

View 2 Replies

Designing A Vacation Tracking Form For Job?

Apr 27, 2010

I am working on designing a vacation tracking form for my job. I have written the code but I have two runtime errors. I am not quite sure why since I have taken examples out of my old visual Basic 2008 book to help write this code. I am using a database to keep all of the information on file.

[Code]...

View 3 Replies

How To Read IMAP Email

Aug 17, 2011

How can I Read IMAP email? I found smtp reader but not IMAP.

View 1 Replies

Receive And Read Imap?

Oct 27, 2010

Sample code or snippet to receive and read/filter email, from imap (gmail)

View 1 Replies

Auto-generate Custom Number For Database In Asp.net Vb

Jan 27, 2012

I would like to generate a tracking number as primary key for my database.

There will be total 12 letters for each tracking id. Example: 2012010001-1

The "2012010001-1" is actually from combination YYYYMMxxxx-v where YYYY is the current year, MM is the current month, xxxx is the auto generate number(increment) and -v is the version where it can be -2 -3 but using the same YYYYMMxxxx.

For both YYYYMM is not a prob as i can get the value from Date.Today.Month/Date.Today.Year. But how am I going to ensure the xxxx is an auto increment but will be reset back to 0000 every new month.

For example:

2012010000-1 (Month January, so start from 0000)
2012010001-1
2012010002-1

[Code].....

View 1 Replies

Auto-suggestion Text Box Custom Control?

Nov 30, 2011

I want to create an custom control just like an Autosuggest control for my windows application. When I type, it should show a grid for the suggestion have the typed value.for an example if I want to search a student "ashish". As soon as I type A in textbox, it should show its First Name, Last name, Address, its image and some other info into a grid or grid like format beneath that control. All those info will come from Database.

View 1 Replies

Custom List / DGV For Auto-wrapping Columns

Dec 19, 2009

I attached a screenshot of my IRIS program and am wanting to implement a new feature, but I'm not sure how to do it. On the left hand side, you can see I have a bound datagridview control that displays a device name and an IP Address from a table in a database.What I want to do is have the option to launch a new form that has ALL the devices visible (including their state: green or red) and based on the size of the form, be able to auto-wrap to a new column.[code]So basically, instead of being able to only see the devices in the DGV on the left as it is scanning, I want to be able to see ALL of the devices in multiple columns in a new form. I looked on codeproject for a custom control to do this, but didn't really find anything.

View 5 Replies

Asp.net - Convert Pop3 Connection To Imap?

Jan 15, 2011

tcpClient.Connect(hostName, 110)
Dim networkStream As NetworkStream = tcpClient.GetStream()
Dim bytes(tcpClient.ReceiveBufferSize) As Byte

[Code]....

View 2 Replies

Create An Auto-sized RichTextBox In Custom WPF Control

Jan 6, 2010

I have previously used the arguments of a contentsResized event on a Winforms richtextbox to get the new size of my RTB. I am now developing a WinForms app with a custom WPF RichTextBox. My whole reason for doing this is to use the out-of-the-box spellchecker. I need my RichTextBox to expand and collapse vertically as the text is changed. The elementhost will also have to resize to allow the whole RTB to display on-screen.

View 1 Replies

Equivalent Of C# Auto Property With Custom Access Specifier?

Jun 28, 2011

I was simply wondering if in VB.Net there is a shorthand equivalent to this kind of C# including the private setter:

public string Test { get; private set; }

View 4 Replies

Aspose.Network.Imap FetchMessages = Null?

Mar 11, 2011

When I do this code:

imap = New ImapClient()
MsgBox("1")
imap.SecurityMode = Aspose.Network.Imap.ImapSslSecurityMode.Implicit

[code].....

View 2 Replies

Unable To Get Large Mails From Server (POP Or IMAP)?

Nov 20, 2009

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in .5in 1.0in .5in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->

I am developing a vb.net desktop application that reads mails from the mailserver using pop and imap. The application is almost fnished .The problem is the some time when a command is send to retrieve a mail using GetMessage() functions the applications is going to a halt. So I tried to run the the code in debug mode and ran line by line.

What I noticed is in the while loop in GetMessage() function is
While Not tmpString.StartsWith(sPrefix)
tmpString = reader.ReadLine
msg = msg & tmpString & vbCrLf
End While

The reader reads line by line at certain point of time it got hangs. Some times it ill catch an exception and give an error. I am pasting the exception below:
"Received an unexpected EOF or 0 bytes from the transport stream".
But some times the applications will hang and go for a halt. This applications has to run 24/7. So if it hangs in the night or it will be problem. What I want is if the reader is not able to read from the stream after certain time period. The control has to be removed from the reader and the function has to return a message. I am new to this the network level applications and I am running shot of time.

Public Sub connect()
Dim objTCP As New TcpClient
Dim sslstream As Net.Security.SslStream
Dim reader As StreamReader = Nothing
[Code] .....

View 1 Replies

Text Getting Selected When Don't Want It - Auto-complete = Suggest With Custom Source?

Apr 28, 2010

txtBox has key up event that fires, if txBox.length = 2, a sql select to dataset for custom source of autocomplete.when user types in 2 letters it selects the 2 letters and when 3rd character is typed of course it erases the first 2 if you dont unselect..

Private Sub txtBox_KeyUp(sender, e ) Handles txtBox.Keyup
If txtCriteria_Lanemgr.TextLength = 2 Then
Dim strSQL As String

[code]....

View 2 Replies

VS 2010 - Email Client That Works With IMAP And POP3

Jan 25, 2011

I'm trying to make a email client but my biggest problem is finding a component that is (preferably) free. I need one that works with IMAP and POP3. Also would be nice if it could handle sending emails (Via SMTP). It would also be great if it worked with gmail.

View 13 Replies

VS 2005 Custom Messagebox: Auto-resize Form To Accommodate Text?

Aug 20, 2009

After using a form as a replacement for MessageBox I do have a need to make it automatically adjust its size to fit its contents, is there any rule out there that we need to abide to when it comes to sizing the form acting as MessageBox?

I am thinking I could use a panel that will auto-resize and just resize the form according to the size of the panel but I am not sure that will work as I haven't tried it yet.

View 4 Replies

Use Textbox Custom Auto-complete Mode With Data From Saved In Different Records Of A Field?

Apr 17, 2010

I have a textbox, a sql database, a binding source bound to the sql database. I can use auto-complete mode of the textbox with custom strings and it suggests in in a drop down form as the user types in a textbox. How can I use autocomplete mode with datasaved in different records of a field using the bindingsource?

View 5 Replies

Use SMTPClient With GMail?

May 1, 2009

I'm trying to send an email with the SMTPClient through a GMail account, but I'm having the problem that once I press the Send Button, the app freezes and I'm not getting any email.[code]...

View 7 Replies

Asp.net Won't Send Email Using Gmail

Mar 30, 2012

why this wont send...ive checked email address and password numerous times...

Imports System.Net.Mail
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim Mail As New MailMessage
Mail.From = New MailAddress("myemail@googlemail.com")

[code]...

View 3 Replies

Gmail Email Retriever?

Dec 30, 2011

I have tried to write a program to get emails from my gmail account but no luck. Can you provide me with some code get all my emails from my account or a single one.

View 2 Replies

How To Receive Gmail Messages

Mar 13, 2011

How can I reseive or open my gmail messages by vb.net2008 code ???

View 4 Replies

READING MAIL From GMAIL

Jan 4, 2010

I want to build an application for reading mails from gmail account using vb.net how do i

start?

View 5 Replies

Receiving Gmail Emails?

May 29, 2012

I have made a program that send emails but know im trying t receive them. I have looked on google and things but i cant get it.

View 8 Replies

Save Password Of Gmail?

Jan 15, 2012

In one of my open source apps, I have to work with gmail atom feeds.

Right now, I am using AES to encrypt the gmail password and store it. (the key is the MAC address of the system along with some hard-coded string.)

the security is highly compromised here.if anyone has access to the machine(thus the MAC address) and my source code(its open source), then he can get the gmail password.[code]...

actually my app will monitor the gmail account for mails over a period of time, so if I don't save the password the I'll have to ask the user to enter the password every time the program starts.

View 1 Replies

Sending An Email Using Gmail

Jul 26, 2009

I have a problem sending an email using gmail.. the code I use is the following :

[Code]...

View 5 Replies

Sending Email With Gmail?

Jun 4, 2009

Can't connect to server is what I get out of this: Public Sub SendEmail()

Dim client As New SmtpClient()
Dim sendTo As MailAddress = New MailAddress(TextBox1.Text)
Dim from As MailAddress = New MailAddress(User(SendFrom) & "@gmail.com")
Dim message As New MailMessage(from, sendTo)

[Code]...

View 6 Replies

Office Auto-mation :: Auto-mating Excel Spreadsheet Creation?

Jun 5, 2009

I am trying to just write something to a cell in a sheet and I am getting the error message:

Exception Exception from HRESULT: 0x800A03EC Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)

[code].....

View 2 Replies

Download Attached Files From Gmail ?

Jan 10, 2011


How can I, download attached files from unread received mail , by VB code.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved