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 

ILS not auto generating and emailing keys

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
juwi_uk



Joined: 10 Mar 2014
Posts: 47

PostPosted: Sun Jul 24, 2016 10:28 am    Post subject: ILS not auto generating and emailing keys Reply with quote

Hi

My ILS/IPN solution which is using the latest versions is having problems.

Customers can purchase OK on PayPal and I see them created on the "Customer" tab in ILS. I also see them appear on the "Sales/Evaluations" tab as well.

BUT it does not create a license key and email back to the user.

This used to work fine but has stopped functioning correctly and I don't know how to trace/debug what is going on. I even did a test myself this morning via PayPal and it didn't email me my license key either!

Has anyone seen anything like this before or can help? I've also emailed support.

I desperately need to get this working again as it is important to not mess with new customers and I want to keep them happy!

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



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Jul 25, 2016 10:43 am    Post subject: Reply with quote

Just for the record we have tried to help. The problem is clearly related to SMTP settings since the trace.axd output records the following error.

Code:
SendEmail Exception (Failure sending mail.) - Retry 0 12.082819 10.274744
 SendEmail Exception (Failure sending mail.) - Retry 1 24.099487 12.016667
 Unhandled Exception: SmtpException
Message: Failure sending mail.
Stack Trace:
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at IpnServer.PaymentProcessor.SendEmail(MailMessage message)
   at IpnServer.PaymentProcessor.SendCustomerEmail(String subject, String emailText)
   at IpnServer.PaymentProcessor.ProcessPurchaseItem(Int32 itemIndex)
   at IpnServer.PaymentProcessor.ProcessPaymentItems()
   at IpnServer.PaymentProcessor.ProcessPayment(Payment payment)


This can occur if the SMTP settings are not correct. Normally the web host provides a dedicated SMTP server that web applications use (which doesn't require authentication) which is different from the SMTP settings you might use from Outlook. In this case the customer is running their own IIS web server on their own local network. They have configured the SMTP settings to the same as they would use from Outlook (or when running the local authentication server). I suspect that this is the problem and they need to set up an SMTP server for IIS (see https://technet.microsoft.com/en-us/library/cc753146(v=ws.10).aspx) however this is not really our field of expertise so if anyone else can help that would be appreciated.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
juwi_uk



Joined: 10 Mar 2014
Posts: 47

PostPosted: Mon Jul 25, 2016 10:56 am    Post subject: Reply with quote

Yes they have been helpful in trying to fix.

My concern has been that there was no way to test the email credentials configured in the product actually work OK once the system is LIVE.

My system was happily working with GMAIL as the relay but stopped at some stage.

I downloaded a quick ASP.Net APP from http://www.aspsnippets.com/Articles/Send-email-using-Gmail-SMTP-Mail-Server-in-ASPNet.aspx and staged it within seconds in IIS.

This gave me more to go on than the error that the trace method gave.

A quick search on google lead me here for my account.

https://www.google.com/settings/security/lesssecureapps

Turning that to ON and IPN.Net is now sending out emails again.

Maybe GMAIL changed the default setting from ON to OFF at some stage thereby stopping my outbound emails.

Who knows but working again now for sure!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing 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