vb.net emails,mailMsg.To format string

R

rbutch

hey guys i've got a little anomole here.
im storing email to/from addresses in a table and fetching them at runtime to be plugged into the mailMsg.To Field.
well for some reason it only works if i hard code the info.
i.e.

mailMsg.To = "(e-mail address removed)"

i've stepped thru debugger and the string looks exactly the same whether its hard coded or its passed from the table column

i know it's something simple - any help is appreciated
thanks
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
R

rbutch

i found out where the problem was.
We have Mail Marshall on our network that was capturing it and blocking it.
it Cost me several hours of wondering what the heck happened.
Can u Believe it?
thanks
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top