Click here to Skip to main content
12,354,533 members (66,606 online)
Click here to Skip to main content
Alternatives (4)
Add your own
alternative version

Tagged as

Stats

86.9K views
1 download
112 bookmarked
Posted

Using Gmail Account to Send Emails With Attachment

, 26 Sep 2013 CPOL
Sending Email using Gmail account from your application.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

8 Apr 2011
BillHudson
Man, that works great! I just converted it to VB.NET and also showed the Imports/Using that was needed, thanks to David's alternate. This was just what I was looking for, Thanks Abdur.Imports System.NetImports System.Net.MailPublic Class frmMain Private Sub frmMain_Load(sender As...
5 Apr 2011
charles henington
public class MailClass { public static void CreateMailAddresses(string sender, string reciever, out MailAddress mailfrom, out MailAddress mailto) { MailAddress Mailfrom = new MailAddress(sender); MailAddress Mailto = new...
18 Apr 2011
charles henington
Sending mail with attachmentspublic partial class Form1 : Form { public Form1() { InitializeComponent(); } public class MailClass : List { public void CreateMailAddresses(string sender, string reciever, out...
29 Mar 2011
SouthernILCode
Hello Abdur,Helpful article on using Gmail to send mail. Added the following "using" statements to my code:System.Net for NetworkCredentialSystem.Net.Mail for MailMessage and AttachmentSystem.IO for adding a OpenFileDialogAlso modified my code to send with...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

dontumindit
Pakistan Pakistan
I am a learner.

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.160621.1 | Last Updated 26 Sep 2013
Article Copyright 2011 by dontumindit
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid