Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

VB.NET Send email thru Gmail Problem

My gmail address is john@mydomain.com  (changed for example)
In my settings tab inside Gmail, I set my name to be "True Believer"

When I email someone from my gmail account,  in their inbox, when my email comes in, it says from "True Believer"

NOw, in my VB.NET applicaiton, I have it configured to send email through my gmail account.  However, all email that is sent shows that its from "john"....the part right infront the @ sign.

how do I send email from VB.NET, through Gmail, and show the name of the sender to be "True Believer?"

0
arthurh88
Asked:
arthurh88
  • 2
1 Solution
 
RyanAndresCommented:
I think you specify that in the to/from address like this:

"True Believer" <john@mydomain.com>
0
 
arthurh88Author Commented:
how do I do that in the VB code?  is this a VB coding issue or a Gmail issue?
0
 
arthurh88Author Commented:
yes that worked in my VB Code!  as this:   sender = "True Believer <john@mydomain.com>"
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now