mail settings ERROR

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
.. oh, and remember to click on 'Save' before you send the test email :0)
14 years ago
Port 25 should work the same.  I am using it.
14 years ago
sorry, wrong post.
14 years ago
If you're using Gmail, try using 587 as the port and check the use SSL checkbox.

I hope that this helps.

Thanks...Chris
14 years ago
For Godaddy PPl.

use following

Host : relay-hosting.secureserver.net

Port : 25

Enable SSL : off

Default Credentials : off

Most important step : Now you must SAVE before sending a test mail

Now send ur test mail

IT WORKS

regards,

Adil
14 years ago
I did exactly what you told and this is what i got

Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)  

and i'm using version 1.40
14 years ago
hello

i tried changing port to 587 as well as 25 but still the same problem with gmail on GODADDY


please provide any soluiton on this
14 years ago
thanks
it works great on local host
but with godaddy server it gives error:
Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
14 years ago
I am not currently hosted with GoDaddy with my nopCommerce site, however I do have a few other websites hosted with GoDaddy that I had to overcome this problem with... Please excuse the VB, but you'll get the picture...

The point is, it all depends on what server you are using... relay-hosting.secureserver.net does not require a password or a specific port as their other servers require 478 or 3535....

I hope this helps. It works for me.

Jose

'With these imports...

Imports System.Net.Mail
Imports Microsoft.VisualBasic
Imports System
Imports System.Data
Imports System.Web

'You can use this function...

    Private Function SendMail() As Boolean
        Try
            Dim SMTP As New SmtpClient
            Dim MailMsg As New MailMessage
            Dim MailFrom As New MailAddress("[email protected]")
            Dim MailTo As New MailAddress("[email protected]")
            Dim HostServer As String = "relay-hosting.secureserver.net"

            MailMsg.From = MailFrom
            MailMsg.To.Add(MailTo)

            MailMsg.Subject = "Enter Your Subject Line Here"
            MailMsg.Body = "Enter Your Body Here"

            MailMsg.IsBodyHtml = False
            MailMsg.Priority = MailPriority.High
            SMTP.Host = HostServer

            SMTP.Send(MailMsg)
            SendMail = True

        Catch ex As Exception
            SendMail = False
        End Try

        Return SendMail

    End Function
12 years ago
What I saw was that people were not specifying that for GMail with GoDaddy to use the GoDaddy setting with your gmail info.

I did this and mail went through (though dropped into SPAM folder regardless of coming from internal mail address).

So for GoDaddy and Gmail/Google Apps - put the Gmail info in and the GoDaddy host and port with no SSL.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.