Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SMTP server issue

 
Post new topic   Reply to topic    Infralution Support Forum Index -> IPN.NET Support
View previous topic :: View next topic  
Author Message
Dave R



Joined: 05 Apr 2009
Posts: 9

PostPosted: Wed Nov 25, 2009 11:21 pm    Post subject: SMTP server issue Reply with quote

I have created an IpnSettings.xml file that allows me to use the Infralution IPN Test Tool to order items using the local development server. This settings file uses the smtp server associated with my godaddy hosted account along with some e-mail accounts that I created for the purpose of "purchase From" and "Notification From" e-mails. This works as I expected with the following configuration:

<MailServer>smtpout.secureserver.net</MailServer>
<SmtpUserName>sales@MyDomain.com</SmtpUserName>
<SmtpPassword>pwd here</SmtpPassword>
<SmtpPort>25</SmtpPort>
.
.
<PurchaseFromEmail>sales@MyDomain.com</PurchaseFromEmail>
<NotificationFromEmail>admin@MyDomain.com</NotificationFromEmail>


When I move this to the godaddy site for MyDomain.com and leave out the <SmtpUserName> and <SmtpPassword> tags out it fails with the message (in the trace):

Unhandled Exception: SmtpException
Message: Failure sending mail.
Stack Trace:
at System.Net.Mail.SmtpClient.Send(MailMessage message)

which appears after both of the calls to SendEmail.

I have also tried to use the <SmtpUserName> tag with and without the
<SmtpPassword> tag. I am surprised that I can use godaddy's smtp server away from the site but not at the site. I am using recent versions of ILS (4.5.1.0) and IPN.NET(2.2.1.0 on the test tool).

I can't figure this one out. Any help will be appreciated.

Thanks.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Nov 25, 2009 11:47 pm    Post subject: Reply with quote

The email SMTP server that your website should use is not usually the same as the SMTP server that you use remotely. Normally you would have to consult your web hosts documentation to find out the required SMTP settings - however I can tell you that for Godaddy the correct settings are:

Code:
 
  <MailServer>relay-hosting.secureserver.net</MailServer>
  <SmtpUserName></SmtpUserName>
  <SmtpPassword></SmtpPassword>
  <SmtpPort>25</SmtpPort>
  <SmtpUseSSL>false</SmtpUseSSL>

_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Dave R



Joined: 05 Apr 2009
Posts: 9

PostPosted: Thu Nov 26, 2009 12:56 am    Post subject: Reply with quote

Thank you for the quick reply. Your answer was exactly right.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> IPN.NET Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group