Email settings


https://forum.kartris.com/Topic2097.aspx
Print Topic | Close Window

By askomit - Thu 23 May 2013
I cant get it to work with gmail... my mail domain is hosted there...

is there any way to get it working? there is ssl setting missing on e-mail configuration...
By askomit - Fri 24 May 2013
p.s. with no ssl (i tested on domain thats not on gmail) it works
By Paul - Fri 24 May 2013
The web site only needs to send email, it doesn't need to receive it. So you should normally send out through the web server's own smtp server, not the one you personally send your mail from. If on shared hosting, sometimes the host may specify an alternative server on their network that all mail must go through.

But you should not need to hook up Kartris to send through the Gmail smtp servers, which have quirky settings and require SSL and so on.

Typically, you can try 'localhost' as mail server. If that doesn't work, try the IP address of the server. If that doesn't work, check with the web host for what details you should use to send mail from a web site.

We use Google hosting mail ourself at Cactusoft, but all our web sites send mail out from the local server's mail server. So we know this definitely all works.
By askomit - Fri 24 May 2013
well....
my local mail server is not active Smile this is my own vps Smile

there is no mail server... i'm planing to migrate to my own server so i'll have to do that quicker

p.s. to install mail server
By bpaluch - Tue 26 Nov 2013
I want to send from the gmail email address, since that is linked to this domain name. I don't want to send from a different mail server- then I need to remember that this is dependent on some outside service.

I'm sure that with some tweaking in the sendEmail, we should be able to get this working.

I tried adding in Kartris.vb

the line with useSSL = true, but it's still not working.

Dim objMail As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient(GetKartConfig("general.email.mailserver"), CInt(GetKartConfig("general.email.smtpportnumber")))





Dim strUserName As String = GetKartConfig("general.email.smtpauthusername")



If Not String.IsNullOrEmpty(strUserName) Then



objMail.Credentials =

New System.Net.NetworkCredential(strUserName, GetKartConfig("general.email.smtpauthpassword"))



objMail.EnableSsl =
True



End If

By bpaluch - Tue 26 Nov 2013
Today, it IS important to be able to send through gmail, or whatever provider a person is using.

My webserver, for example, has strict anti-spam rules, and I cannot set it to use a different mailserver, and send from my domain.

I tried many combinations, and it did NOT work.

Gmail is very popular, and there should be a way to get it going.
By Paul - Tue 26 Nov 2013
More than likely it is possible to send from your server, but it isn't configured right. Microsoft ships with SMTP and other stuff turned off. We have to go through several steps with our servers when we first get them to get mail working from web sites. You may also need to explicitly allow it to relay for your site domain. It's not a particular great experience, as you still need to use the IIS 6 manager even on server with IIS 7 or above, which seems a bit like a half-done job by Microsoft.

Our company mail is on gmail and I recall when setting up Thunderbird to mail out that the SMTP settings are unusual. This has info:

http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm