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?"

arthurh88Asked:
Who is Participating?
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.