Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

When i send mail using a remote server(smtp.hotpop.com), its not going from pickup folder

Posted on 2004-09-16
10
Medium Priority
?
239 Views
Last Modified: 2008-01-09
When i send mail using a remote server(smtp.hotpop.com), its going into pickup folder,and thereafter not going from pickup folder to mail reciepient. what is the reason?
0
Comment
Question by:raj_ms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
10 Comments
 
LVL 19

Accepted Solution

by:
RanjeetRain earned 1000 total points
ID: 12079076
Are you able to send the mail manually, using the same configuration? If you can't send manually, tweak your SMTP setting.

Also, check your Outlook setting, you should select the option "Send message immediately".
0
 

Author Comment

by:raj_ms
ID: 12218715
the reason is it uses local smtp in my machine, instead of that server. so i uninstalled smtp from my machine from then the error is different.
CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.

the code is here
Set mmcdoconfig = New Cdo.Configuration
Set mgcdomsg = New Cdo.Message
Set ar = an.Execute("select * from some.customer where type=1")
Set hn = an.Execute("select * from some.htmls")
'mgcdomsg.DSNOptions = cdoDSNDefault
mmcdoconfig.Fields("sendusing") = 2 'CdoSendUsing.cdoSendUsingPort
mmcdoconfig.Fields("Smtpserver") = "smtp.hotpop.com" ' "10.10.1.23" '
mmcdoconfig.Fields("smtpserverport") = 25
mmcdoconfig.Fields("smtpauthenticate") = cdoBasic
mmcdoconfig.Fields("sendusername") = "someid"
mmcdoconfig.Fields("sendpassword") = "abcdef1"
mmcdoconfig.Fields("SendemailAddress") = val5
mmcdoconfig.Fields.Update
mgcdomsg.Subject = val4
mgcdomsg.MimeFormatted = True

mmcdoconfig.Load (cdoIIS)
Set mgcdomsg.Configuration = mmcdoconfig
'If hn.EOF <> Null Then
    mgcdomsg.HTMLBody = "<html<head></head><body>hello</body></html>" 'hn.Fields(1).Value
'End If
'While Not ar.EOF
   ' mgcdomsg.Sender = ar.Fields(2)
    mgcdomsg.To = "emailaddress"
    mgcdomsg.From = "anotheremail"
   
    mgcdomsg.Send
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:raj_ms
ID: 12218750
Only after unistalling local Smtp, it gave error, otherwise it uses localsmtp instead of remote smtp
0
 

Author Comment

by:raj_ms
ID: 12218751
i am very sure of password and username...etc.
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 12220647
Try this:

mmcdoconfig.Fields("Smtpserver") = "127.0.0.1"
0
 

Author Comment

by:raj_ms
ID: 12232451
I want to use the remote Smtp and not the local smtp.
0
 

Author Comment

by:raj_ms
ID: 12237473
I solved the problem myself.
instead of
mmcdoconfig.Fields("sendusing") = 2 'CdoSendUsing.cdoSendUsingPort
mmcdoconfig.Fields("Smtpserver") = "smtp.hotpop.com" ' "10.10.1.23" '
mmcdoconfig.Fields("smtpserverport") = 25
mmcdoconfig.Fields("smtpauthenticate") = cdoBasic
mmcdoconfig.Fields("sendusername") = "someid"
mmcdoconfig.Fields("sendpassword") = "abcdef1"
mmcdoconfig.Fields("SendemailAddress") = val5

i used
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
similar to this so it started using my remote server.
ANyway thanks, You made me to think more wider
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 12240653
I wish I could help you better. ANyway, a problem solved is better than a problem lying unsloved.
0
 

Author Comment

by:raj_ms
ID: 12242427
Thnaks a lot RanjeetRain.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question