cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New

Need to Send Email to Customer After Purchase from my Storefront

Solutions?  This seems pretty straightforward--the ability to send my new customer an email after they purchase a subscription to my SaaS web app.

My storefront is completely built.  I have a Comodo cert.  I have a merchant account.  But I can't seem to get my .NET web app (MVC-5) to simply send an email after someone makes a purchase.

My email contains their username and password--so they must have this to sign into my web app.

Currently, I have a GoDaddy issued Office 365 email address (admin@prosurvgeospace.com)

My domain name is https://www.prosurvgeospace.com

I've tried just about everything but nothing works.  Not even this code:

                    'Email the new subscriber
                    Dim message As New MailMessage
                    message.From = New MailAddress("admin@prosurvgeospace.com")
                    message.To.Add(New MailAddress("dominic@prosurv.com"))
                    message.Subject = "Approved!"
                    message.Body = "Congratulations"
                    Dim client As New SmtpClient
                    client.Port = 25
                    client.Host = "relay-hosting.secureserver.net"
                    client.UseDefaultCredentials = False
                    client.EnableSsl = False
                    client.Send(message)
0 REPLIES 0