ASP / CDO issues

I am having issues when using CDO.Message object  within ASP 3.0/Classic to send emails enternally.  They get routed to my users junk folders, which obviously is rarely checked.  Is there a way to resolve the email address similar to Outlook?  Is there a better way of doing this entirely?

Below is a sample
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")            

 With cdoConfig.Fields
    .Item(sch & "sendusing") = 2
    .Item(sch & "smtpserver") = "192.168.0.1"
    .item(sch & "smtpserverport") = 25
    .item(sch & "smtpauthenticate") = 0
    .update
End With      
            
Set objmailitem = CreateObject("CDO.Message")
Set .Configuration = cdoConfig
            
objmailitem.From = request("EMail")
objmailitem.TO = "relit@ds.com;" & request("EMail")
objmailitem.Subject = "IT HELP REQUEST - " & sAssigned
objmailitem.textbody = "Name:  " & request("txtID")& vbcrlf & _
                             "Location:  " & request("Location") & vbcrlf & _
                               "Department:  " & request("Department") & vbcrlf & _
               "Email:  " & strEmail & vbcrlf & _                                       "Phone/Ext:  " & request("Phone") & vbcrlf & vbcrlf & _
               "Problem:  " & request("Problem") & vbcrlf & vbcrlf & _
               "WO Number for user reference:  " & sAssigned

objmailitem.Send
            
Set cdoMessage = Nothing 
Set cdoConfig = Nothing 
DSaldanaRELTDAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kevp75Commented:
the only way you will be able to do this is to have your users mark the email as Not Junk.   There is content in your email that the filter is seeing, and marking it as junk.

there is nothing wrong with your code
0
golfDoctorCommented:
You would need a qualified domain to send from, otherwise you're just using relay email in SMTP, which is junk most of the time.  Any chance you could route it through an Exchange Server, or set up the SMTP server with legitimate DNS?
0
DSaldanaRELTDAuthor Commented:
I'm not sure what you mean...

The IP that it's directed to is an MS Exchange server, if that helps.  How would I go about sending from a qualified domain
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

kevp75Commented:
Your Comment  


Rank: Sage
kevp75:
the only way you will be able to do this is to have your users mark the email as Not Junk.   There is content in your email that the filter is seeing, and marking it as junk.

there is nothing wrong with your code
0
golfDoctorCommented:
Instead of an internal IP you would use a qualified domain name, available in the DMZ.

 .Item(sch & "smtpserver") = "www.mydomain.com" 
0
DSaldanaRELTDAuthor Commented:
I actually resolved this by reading some tech articles on Exchange 2003.

I took the following actions.
1.)  Start Exchange System Manager
2.)  Navigate to the following area:  Admin Groups -> First Admin Group -> Servers -> ServerName -> Protocols -> SMTP ->
3.)  Right-click on Default SMTP Virtual Server.
4.)  Got to the 'Access' tab.
5.)  Click Authentication.
6.)  Make sure Anonymous access is checked.  Then below that, make sure Resolve anonymous email is checked also.

Ok out of the screens.  Wait 5 minutes to verify settings are in place.  Proceeded with test, no code changed from above.  And it worked.
0
golfDoctorCommented:
That's basically the same thing as authenticating your server to a domain.  You made it so the relay SMTP email comes from legimate source and is verified.
0
DSaldanaRELTDAuthor Commented:
Please close this question out as a resolution was found outside of the suggestions above
0
golfDoctorCommented:
post the answer.
0
DSaldanaRELTDAuthor Commented:
I did
0
golfDoctorCommented:
then post to community support and ask them to close this.  or award points and close yourself.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kevp75Commented:
nice.....give somebody points who did not answer your question?

Good to see how you work DSaldanaRELTD....you just proved to every other expert here that ignorance IS bliss, and to not answer any more of your questions.....

Good going Einstein
0
DSaldanaRELTDAuthor Commented:
He did come closest to answering my question...made my thought process check the server.  Rather than informing over 100 people that they'd have to do this manually.
0
kevp75Commented:
according to you, you answered your own question...no-one else

so I say again

"Good to see how you work DSaldanaRELTD....you just proved to every other expert here that ignorance IS bliss, and to not answer any more of your questions....."
0
DSaldanaRELTDAuthor Commented:
again I say to you so you understand this time....

He prompted my thought process thus deserving some credit.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.