| Author | Topic | 
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                        2706 Posts | 
                                            
                                            |  Posted - 2006-02-13 : 19:37:45 
 |  
                                            | Hello,I have been using dundas mailer to send emails, but noticed it doesnt deliver to hotmail and cant resolve itI am trying out this CDO script <%Set myMail=CreateObject("CDO.Message")myMail.Subject="Sending email with CDO"myMail.From="mail@mail.com"myMail.To="mail@mail.com"myMail.TextBody="This is a message."myMail.Sendset myMail=nothing%> i got it from herehttp://www.w3schools.com/asp/asp_send_email.aspbut it still does not work. How do i get around this webmailer issue ?Afrika |  | 
       
                            
                       
                          
                            
                                    | karunaAged Yak Warrior
 
 
                                    582 Posts | 
                                        
                                          |  Posted - 2006-02-13 : 23:20:57 
 |  
                                          | This code is for classic asp. Can you tell us, where you are using this mailer function?Karunakaran |  
                                          |  |  | 
                            
                       
                          
                            
                                    | MerkinFunky Drop Bear Fearing SQL Dude!
 
 
                                    4970 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 01:20:52 
 |  
                                          | quote:Probably in an ASP pageOriginally posted by karuna
 This code is for classic asp. Can you tell us, where you are using this mailer function?Karunakaran
 
  It sounds like your problem is that either your SMTP server is incorrectly configured, or hotmail is blocking your IP. If your site works for some addresses I don't think it's your code. You should talk to your hosting provider about how their SMTP servers are configured.Damian"A foolish consistency is the hobgoblin of little minds." - Emerson |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 01:36:20 
 |  
                                          | quote:Am running the mailer function as it is on the server side, but it fails to send any mailOriginally posted by karuna This code is for classic asp. Can you tell us, where you are using this mailer function?
 
 |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 03:56:13 
 |  
                                          | Ok, has anyone got any simple ASP or .NET mailer function ?or does anyone know why the CDO app above is not working ? |  
                                          |  |  | 
                            
                       
                          
                            
                                    | karunaAged Yak Warrior
 
 
                                    582 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 05:01:54 
 |  
                                          | quote:If you are using classic asptry thisSet myMail = Server.CreateObject("CDO.NewMessage") instead of the first lineKarunakaranOriginally posted by afrika
 Ok, has anyone got any simple ASP or .NET mailer function ?or does anyone know why the CDO app above is not working ?
 
 |  
                                          |  |  | 
                            
                       
                          
                            
                                    | karunaAged Yak Warrior
 
 
                                    582 Posts |  | 
                            
                       
                          
                            
                                    | MerkinFunky Drop Bear Fearing SQL Dude!
 
 
                                    4970 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 05:58:41 
 |  
                                          | africa, why don't be a bit more specific about what the problem is.Do you get an error ? or does the mail just not arrive ? Does it work for some mail providers but not Hotmail, or does it not work for anyone.Your mail code looks fine, have you looked into my SMTP server suggestion ?Damian"A foolish consistency is the hobgoblin of little minds." - Emerson |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 09:03:07 
 |  
                                          | Thanks Karuna, Merkinproblem is thus. 1. When i use dundas, i get deliver to all mails during signups except hotmail and gmail.2. For the script posted above (ie the CDO ), i dont get delivery at all.Regarding the configuration of the server SMTP, i really dont think thats the problem, because its hosted with our provider we have been using since 2002, on win 2003 server.Am testing the new line, would brb...And also looking at the linksAfrika |  
                                          |  |  | 
                            
                       
                          
                            
                                    | MerkinFunky Drop Bear Fearing SQL Dude!
 
 
                                    4970 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 15:59:59 
 |  
                                          | If you get some mails with Dundas, then the mail component is delivering to the SMTP server. There is nothing wrong with your code or the component.If Hotmail and GMail aren't getting the mail, either your SMTP server is incorrectly configured, OR your SMTP server has been blocked by those providers. I seem to remember saying this a few months ago to you, but you won't listen. Stop messing with the code, the problem is elsewhere.Damian"A foolish consistency is the hobgoblin of little minds." - Emerson |  
                                          |  |  | 
                            
                       
                          
                            
                                    | jsmith8858Dr. Cross Join
 
 
                                    7423 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 16:22:42 
 |  
                                          | As Merkin says, which SMTP server are you specifying with Dundas, and which one are you specifying (if any) with CDO?  From your sample code, it appeared that you were using your local web server -- is that how you did it with Dundas?By the way, if you are using .NET, then it has Mail built into the framework -- you should just use that. |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 16:44:07 
 |  
                                          | quote:...really ???Originally posted by Merkin
 If you get some mails with Dundas, then the mail component is delivering to the SMTP server. There is nothing wrong with your code or the component.If Hotmail and GMail aren't getting the mail, either your SMTP server is incorrectly configured, OR your SMTP server has been blocked by those providers. I seem to remember saying this a few months ago to you, but you won't listen. Stop messing with the code, the problem is elsewhere.Damian"A foolish consistency is the hobgoblin of little minds." - Emerson
 
  I guess its 'cos am searching for a solution |  
                                          |  |  | 
                            
                       
                          
                            
                                    | karunaAged Yak Warrior
 
 
                                    582 Posts | 
                                        
                                          |  Posted - 2006-02-14 : 22:14:11 
 |  
                                          | quote:Probably if afrika can post the code used for Dundas mailer, that will help to identify whether the mailer component uses local SMTP or other SMTP's.  ThanksKarunakaranOriginally posted by jsmith8858
 As Merkin says, which SMTP server are you specifying with Dundas, and which one are you specifying (if any) with CDO?  From your sample code, it appeared that you were using your local web server -- is that how you did it with Dundas?By the way, if you are using .NET, then it has Mail built into the framework -- you should just use that.
 
 |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-15 : 01:40:19 
 |  
                                          | quote:Hello Guys,i really do need a solution around this, simply because the problem has to do with signup to our portal.Whenever a user signs up, he gets a confirmation message to his box. This we noticed failed to hotmail, so we have been trying to work around it.The site is hosted remotely and the page is called from an XML serverside HTTP request object.Hi karuna,here's is my dundas code, above is the CDO Code am trying to work with.rgdsEhiOriginally posted by Merkin
 africa, why don't be a bit more specific about what the problem is.Do you get an error ? or does the mail just not arrive ? Does it work for some mail providers but not Hotmail, or does it not work for anyone.Your mail code looks fine, have you looked into my SMTP server suggestion ?Damian
 
 <%'most control methods throw an exception if an error occurs so we will use an On Error statementDim objMailer 'Mailer controlon error resume next'create instance of Mailer controlSet objMailer = Server.CreateObject("Dundas.Mailer")sendemail = (trim(request.Form("email")))'set Mailer control properties and collection itemsobjMailer.TOs.Add   sendemailobjMailer.FromAddress = sendemailobjMailer.Subject = (request.Form("first_name")&"'s"&"  account details") 'specify an SMTP Relay server. This increases the speed and reliability of the operationobjEmail.SMTPRelayServers.Add "SomeSmtpServer.com"objMailer.Body = "Hi "'has been edited by me'send emailobjMailer.SendMail'you can test for the success/failure of the operation by examining VBScript's Err object here'test for success/failureIf Err.Number <> 0 Then'an error occurred so output error message'Response.Write "Sorry, the following error occurred: " & Err.DescriptionElse'success!Response.Write "The html email was successfully sent."End IfSet objMailer = Nothing%> |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-15 : 01:56:53 
 |  
                                          | [code]<%'most control methods throw an exception if an error occurs so we will use an On Error statementDim objMailer 'Mailer controlon error resume next'create instance of Mailer controlSet objMailer = Server.CreateObject("Dundas.Mailer")sendemail = (trim(request.Form("email")))'set Mailer control properties and collection itemsobjMailer.TOs.Add   sendemailobjMailer.FromAddress = sendemailobjMailer.Subject = (request.Form("first_name")&"'s"&"  account details") 'specify an SMTP Relay server. This increases the speed and reliability of the operationobjEmail.SMTPRelayServers.Add "SomeSmtpServer.com"objMailer.Body = "Hi "'has been edited by me'send emailobjMailer.SendMail'you can test for the success/failure of the operation by examining VBScript's Err object here'test for success/failureIf Err.Number <> 0 Then'an error occurred so output error message'Response.Write "Sorry, the following error occurred: " & Err.DescriptionElse'success!Response.Write "The html email was successfully sent."End IfSet objMailer = Nothing%>[/code]am reading through the code and wondering if thats where the error is above in red ?Also am wondering if there are any other things, i am not doing right in the above code ???Thanks Guys for your assistanceEhi |  
                                          |  |  | 
                            
                       
                          
                            
                                    | jsmith8858Dr. Cross Join
 
 
                                    7423 Posts | 
                                        
                                          |  Posted - 2006-02-15 : 08:48:16 
 |  
                                          | I just re-read your first email more carefuly, and noticed that when sending email with Dundas, hotmail still rejected it.  I thought it did work with Dundas, and then not with CDO, so it was a configuration issue on your part.  But it is NOT.You do understand that it has nothing to do with what library you are using, they all do the same thing -- it has to do with SPAM controls that hotmail uses ... right?  The very first step is trying to get you to realize this (as Merkin has been trying to do for a while).  Did you get an "Undeliverable" email sent to you regarding the failure from your SMTP server?  What did it say?  Is your SMTP server configured to send Undeliverable reports to you so you can read them? If not, set it up so it does and resend an email to Hotmail and let us know what it says. |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-15 : 17:53:36 
 |  
                                          | >>I thought it did work with Dundas, and then not with CDOWorks well with dundas (but no delivery to hotmail), but not CDO yet. the smtp config was definitely wrong.Am testing and talking with our providers again, would certianly give you a feedback. oh, i do appreciate your advice.Afrika |  
                                          |  |  | 
                            
                       
                          
                            
                                    | karunaAged Yak Warrior
 
 
                                    582 Posts |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-16 : 01:17:42 
 |  
                                          | yeah, Thanks Karunakaran, as said above am testing, i would also have a look at the resources specified, Gracia mon ami(s)Ehi |  
                                          |  |  | 
                            
                       
                          
                            
                                    | spirit1Cybernetic Yak Master
 
 
                                    11752 Posts | 
                                        
                                          |  Posted - 2006-02-16 : 11:07:01 
 |  
                                          | i'm just at the begining of the end of developing a library that uses WEBDAV to communicate to exchange.hotmail also supports it AFAIK.the cool thing about it is that is uses http protocol and xml to comunicate.so it can go through places cdo can't  like firewalls and such. the thing that bothers most people is that it's not an API but a HTTP protocol extension.at the begining i thought what the hell am i doing developing this... but the more i got into it the more i liked it.Go with the flow & have fun! Else fight the flow   |  
                                          |  |  | 
                            
                       
                          
                            
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2006-02-17 : 04:01:32 
 |  
                                          | Mladen,I$ this open source or do its have a licen$ing agreement ?What am trying to $ay, is it FREEEEEEEEEEEEEEEEEEEE ????  I am acutally out of town, should be back sunday and continue testing from were i stopped |  
                                          |  |  | 
                            
                            
                                | Next Page |