How can I read emails with attachments from gmail in vb.net - vb.net

I have mail box in Google Apps. I am trying to read the new mail's subject from and Toaddress everything and to download the attachments from the gmail account in vb.net. I tried using https://mail.google.com/mail/feed/atom but i cannot read all the mails as well as the attachments.
Can we use the python imaplib dll in vb.net

This is an article where you can find a lot of usefull information how to send and read email using pop3email client within attachment and without, including gmail. I hope example in c# wouldn't be great obstacle for you.

Related

Unified Inbox in Microsoft Outlook 2010

I have two IMAP accounts and one POP account configured in MS Outlook 2010. Extensive Google research indicates Outlook does not support a truly unified inbox, where these three accounts would be combined, and where the IMAP emails would still be associated with and controlled by their IMAP servers. Using rules to copy messages disassociates them from IMAP, so that will not work.
Can this be accomplished with VBA's Application.AdvancedSearch method? I'm not fluent in VBA, so if someone could provide an example of a programmatically-created Outlook Search Folder that scans multiple email accounts, that would be terrific.
Thank you!
This seems to work well in Outlook 2010:
See: http://www.slipstick.com/how-to-outlook/how-to-create-a-unified-inbox/
Good luck.

How to check if an email attachment has been opened

I am working on a study that sends people a PDF document with information about their health. The team would like to know if the person has actually opened the PDF document (a sign that they didn't just ignore the e-mail). I know that it'd be possible to do it with a link to an external file, but the users are much less likely to click on a URL and download it then they are to just view an attachment, and we don't want to do anything that might prevent the users from reading the information (we've already had people say they never received the message, and with further investigation they discovered they had, they had just ignored it).
Another option is to request a read report, but this is only useful if it doesn't annoy the user (ie it does it automatically when the email is opened instead of requesting them to send one). We're currently looking into this as well, but the ability to check if the attachment has been opened is a much better idea.
The email is generated in MS SQL and sent using the database mail system, and we have adobe acrobat pro, so creating scripts in pdfs is possible (although I'm not sure whether those scripts will be allowed to run).
Thanks
1) Dont include the PDF in the email, include a link to the PDF.
or
2) Include a javascript snippet in the PDF, which hits a per-user URL or includes IP address or something to track. This will only work if the user allows javascript, and if their pdf reader supports it.
See
http://ask.metafilter.com/153206/Is-it-possible-to-track-where-a-PDF-file-goes-once-in-the-wild
Since this was originally posted there has been a number of consumer tools that now let you track PDF's sent via a web link.
http://docsend.com , http://attach.io
and if you're sharing from Dropbox
http://orangedox.com
Much easier than having to script it yourself
At this time there are a number of tools available who offer attachment tracking service to their users. I am also using SalesHandy for attachment tracking and get the deep analysis of when & where your attachment is open.
Click to read more: https://www.saleshandy.com/document-tracking/

Programmatically reading Emails from Exchange Sever 2003

We receive vendor confirmation of file feeds that we send out. Some of our vendors will only send the confirmation through email. I am trying to find some sample VB code that I can use to try and use, that I can schedule to go out and query an inbox and see if there is an email from a certain account and I then return the message body. A lot of the articles that I have found discuss using Web DAV, but I am unfamiliar with it as well as trying to query Exchange Server. I have found documentation for the apis for the new versions of Exchange Server, but I am having a hard time finding it for Exchange 2003.
What ultimately helped me answer my question was this book "CDO & MAPI Programming". You can download the sample code from Here. Chapters 6 and 7 from the book are were really helpful in figuring this out.

Can I read the mail and download the attachments using that imaplibrary in VB.Net

Can I read the mail and download the attachments using that imaplibrary in VB.Net
I would suggest using something with proper queuing and logging if you intend this for a business app.
here is an existing question along these lines, with good responses.
https://stackoverflow.com/questions/1544895/imap-library-for-net

Emailing an image from an application

What's the best way of sending an email with an image from the application to the Mail.app for someone to send to any contact they like?
For example, in my app (iMood), you can select a 'mood', I'd like the user to be able to email this to a friend for example, by using a button in the navigation bar.
I can easily create the button etc. but just need to know a way to enable the user to send the image (ie. image.png) from the project to Mail.app as maybe an attachment or a picture in the email.
Thanks in advance.
This question has been answered many times and in many different forms.
Short answer: you can't. There is no API that allows you access to Mail attachments, and Apple's implementation of the mail URL scheme does not support attachments either.
To accomplish this, you have a couple of very unattractive options:
1) Build-in your own SMTP client. There are some Open Source libraries that are working toward this, but it's still a pain
2) Send the image to a third part server (yours) and compose and send the mail from there. Users probably won't like the possibility you collecting email addresses for nefarious purposes.
In your case, the best thing to do is save the image to the Photo Library. From there, users can send email with the photo.
If you'd like to see Apple enable email attachments, please file a request.