View Full Version : set email address

08-21-2007, 01:27 PM
Im trying to make a fixed email list (last hair brained idea) im having a bit of a problem though

email= oRecordset("SubscriberEmail")

works fine, but what i have in the db, is their username

so essintially i want

moby= oRecordset("username"@mydomain.com) where it adds my domain at the end, is this possible?

08-21-2007, 02:10 PM
You are close, but you need to remember concatenates in ASP are done using the "&".

email = oRecordset("SubscriberEmail") & "@myDomain.com"


moby = oRecordset("username") & "@mydomain.com"

This will give you the "username" @ myDomain.com that you are looking for.