Click here to Skip to main content
11,484,752 members (67,389 online)
Click here to Skip to main content
Alternatives (4)

Tagged as

Using Gmail Account to Send Emails With Attachment

, 26 Sep 2013 CPOL 70.5K 1 112
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 programming learner.

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