Hi
I have a nopCommerce site on one domain and the web site on the other. I have a subscription box on the website and I want to add a newsletter subscriber from the website directly to the nopCommerce.NewsLetterSubscription table. I have this in the code behind and this successfully adds a record to the correct table:
Page.Validate()
If Page.IsValid Then
Using db As New ShopDataClassesDataContext
Dim thisNewSubscription As New NewsLetterSubscription
With thisNewSubscription
.NewsLetterSubscriptionGuid=System.Guid.NewGuid
.Email=txtEmailAddress.Text
.Active=True
.StoreId=1
.CreatedOnUtc=Now
End With
db.NewsLetterSubscriptions.InsertOnSubmit(thisNewSubscription)
db.SubmitChanges()
end using
MultiView1.SetActiveView(ViewSubscribeThanks)
End If
After adding a new subscriber (there are 3 in the table now) and sending a test campaign MASS MAIL it says that it has queued 2 emails (not three). Do I need to do anything else or is it just ignoring the "site owner" email?
Any help would be appreciated. I am trying to make sure the site owner only needs to send email from one place (nopCommerce admin) and he isn't ready for MailChimp yet!