What is port of my ...
 
Notifications
Clear all

What is port of my email?

5 Posts
2 Users
0 Likes
936 Views
Posts: 3
Topic starter
(@tofiq)
New Member
Joined: 6 years ago

I am trying to send email from my email mymail@domain.pk but i need port number and hostname but i can not find it in cpanel

 

var smtp = new SmtpClient
{
Host = "smtp.domain.pk",  //my guess (not sure)
Port = 587,
EnableSsl = true,
DeliveryMethod = SmtpDeliveryMethod.Network,
UseDefaultCredentials = false,
Credentials = new NetworkCredential(fromEmail.Address, fromEmailPass)
};

4 Replies
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

Hello,

I edited your answer to protect your domain/ email address (botnets tend to search the web for email addresses on sites to add to spam lists).

But i am guessing your question is more aimed for your Hosting Provider (as SolidCP is just a hosting control panel, it does not configure or setup the servers them selfs, it just manages them).

Regards,

Marco

Reply
Posts: 3
Topic starter
(@tofiq)
New Member
Joined: 6 years ago

Thank you Marco for updating, how can i know who is my hosting provider? (apologies in advance if question is stupid)

Reply
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

There's no such thing as a stupid question, only stupid answers 🙂

The easiest way to check who your hosting provider is is to simply follow the money: who did you pay for the services? (did they email you an invoice, did you login to a website to pay ? ) The ones you made the money to are generally your hosting provider.

Reply
Posts: 3
Topic starter
(@tofiq)
New Member
Joined: 6 years ago

got it!

Reply
Share: