Link to home
Start Free TrialLog in
Avatar of Johnny
JohnnyFlag for United States of America

asked on

cdo problem with sending email

i am trying to set some of the settings in an email such as priority and xmailer etc...

in the code below if i comment out the botton 3 lines it works fine

trying to do any of the bottom 3 lines give error...

how are the bottom 3 line done whast the code to do them..i belive there wrong

                .Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "0") 'basic authentication 1
                .Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "xxx@xxxx.com") 'set your username here
                .Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "xxxx") 'set your password here
                .Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", "240")
                '.Fields.Add("urn:schemas:mailheader:comment").value = "Welcome Msg Sent From ArgoDragon E-Mail Manager"
                '.Fields.Add("urn:schemas:mailheader:x-mailer").value = "VB.net 2005 - ArgoDragon E-Mail Manager"
                '.Fields.Add("urn:schemas:httpmail:importance").value = 2


thx
Johnny
aka Pern
SOLUTION
Avatar of etmendz
etmendz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Johnny

ASKER

ok i found the urn fields have to have item as the statement...

i font get errors now but i do not get it to display either..is there a way to control inportance,priority and xmailer etc fields other then cdo...
and thx how to give points ill take sugestions...

Avatar of Johnny

ASKER

whats fair to award oints to who and how meny... any sugestions?

thx
Avatar of Johnny

ASKER

i guess it wont work so i devided the point as i used um...

its not gonna work..wish there was a way!!

php does it fine..so go figure there not in microsoft at all