The problem with gmail smtp is that gmail will overwrite the sender's
address with whichever the gmail smtp server authenticates. In other
words, even if you say
mailMessage.From = new MailAddress("joh...@somewhere.com");
But, if you authenticate yourself through "jan...@gmail.com",
Then the sender address will be overwritten as "jan...@gmail.com".
I understand that this makes perfect anti-spamming sense.
Here is my situation. I have domain mydomain.com, and I am using the
google apps email service with this mydomain.com. So, I have email
addresses like
in...@mydomain.com
feed...@mydomain.com
But, I cannot authenticate neither of these against gmail smtp server,
so I have to use gnews...@gmail.com to get authenticated, but then,
recipients will see that my email is from gnews...@gmail.com instead
of from in...@mydomain.com. This is very unprofessional, isn't it?
So, here is the question, I don't have a mail server on mydomain.com,
is there a work around to send mail and recipient would see that the
email is from in...@mydomain.com?
Thank you.
http://www.google.com/a/help/intl/en/index.html
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"gnewsgroup" <gnews...@gmail.com> wrote in message
news:8a6995d8-7933-4d4d...@z38g2000hsc.googlegroups.com...
Well, I am already using the gmail apps with my own email domain like
in...@mydomain.com. In other words, I log onto google's apps site and
check my email. Although it is really gmail, but I have my own
domain.
But, I cannot authenticate my custom domain email against gmail smtp.
It seems that one can get authenticated by gmail smtp only if he uses
the explicit gmail (i.e. user...@gmail.com) credentials.
Well, I did try the ReplyTo property. It helps in that when the user
hits the Reply button, the ReplyTo email address will automatically
jump to the To: field.
But, still, the recipient can see that this email is from
gnews...@gmail.com instead of in...@mydomain.com.
Looks like SendMail for Windows can do that. 49 bucks a copy.
OK, the thing is, I would like to let the user see that s/he received
the email from in...@mydomain.com instead of som...@gmail.com.
How does the SMTP service that comes with IIS work? I tried it a long
time ago, but it was not successful, and had to give it up.
http://www.codeexplore.com/
Make money writing articles
On Apr 8, 10:09 pm, gnewsgroup <gnewsgr...@gmail.com> wrote:
> On Apr 8, 3:21 pm, "Juan T. Llibre" <nomailrepl...@nowhere.com> wrote:
>
> > Would setting up your Email domain through GoogleApps help ?
>
> >http://www.google.com/a/help/intl/en/index.html
>
> > Juan T. Llibre,asp.netMVP
> >asp.netfaq :http://asp.net.do/faq/
> > foros deasp.net, en español :http://asp.net.do/foros/
> > ======================================
>
> Well, I am already using the gmail apps with my own email domain like
> i...@mydomain.com. In other words, I log onto google's apps site and
> check my email. Although it is really gmail, but I have my own
> domain.
>
> But, I cannot authenticate my custom domain email against gmail smtp.
> It seems that one can get authenticated by gmail smtp only if he uses
> the explicit gmail (i.e. usern...@gmail.com) credentials.
Hey, that sounds exciting to me. Please take a look at the code I use
at the following link. I think it's nicer to for eye to put it on a
webpage instead of here at this newsgroup.
http://gnewsgroup.googlepages.com/sendemailviagmailsmtp
That's the code that works. I haven't been able to succeed with my
custom domain email through smtp.gmail.com. Please do share how you
had it work. Thanks a lot!
One thing I need to add is that I am only use the free google apps, I
am not paying anything. Don't know if this makes a difference.
Email me if you face any trouble .