Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-02-2006, 09:24 AM   #1 (permalink)
rikb53
Registered User
 
Join Date: Jan 2006
Posts: 29
rikb53 is on a distinguished road
mailMsg.To format

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 = "rik.But@str.com"

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
rikb53 is offline   Reply With Quote
Old 02-02-2006, 09:34 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,692
redhead is on a distinguished road
Are you using .ToString on the fetched data ?
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-02-2006, 09:37 AM   #3 (permalink)
rikb53
Registered User
 
Join Date: Jan 2006
Posts: 29
rikb53 is on a distinguished road
mailMsg.To

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 happened.
Can u Believe it?
thanks
rik
rikb53 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change the empty function from the old format to the new format powah All Other Coding Languages 1 07-10-2005 01:23 PM
Text format changing DavH27 HTML, XML, Javascript, AJAX 3 11-09-2004 03:10 PM
Trying to get mm/dd/yy format ten_d Standard C, C++ 4 03-22-2004 07:54 PM
email address format trevor PHP 8 12-23-2003 05:25 AM
format numbers sde PHP 3 10-03-2002 11:10 AM


All times are GMT -8. The time now is 06:41 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting