Questions tagged [smtpclient]

on .NET Framework , allows applications to send e-mail by using the Simple Mail Transfer Protocol (SMTP)

1275 questions
-1
votes
1 answer

SMTP gmail on windows application

I have a problem trying to send email (gmail) it won't allow me to send email if I didn't have the 'allow less secure app' turned on. What am I doin wrong? try { smtpClient.Host = mServer; smtpClient.Port = mPort; …
Talent
  • 1
  • 2
-1
votes
1 answer

GSuite Update - Turning off less secure app access to G Suite accounts

I've read that post of GSuite Updates google Turning off less secure app access to G Suite accounts where it's commented that after june 2020 the access from LSAs (less secure apps) to GSuite will be limited and I'm not sure that it affects the…
Marc
  • 1,359
  • 1
  • 15
  • 39
-1
votes
1 answer

How do I get CSS Animations to work in email?

I Am trying to learn how to send CSS animations in an email but when i send an example of a css animation to my outlook it doesn´t work. Even when I try to open in a seperate browser all I see is a red picture and without the expected animation. I…
Rawmouse
  • 77
  • 8
-1
votes
1 answer

NetworkCredential(address, pass) returns null

NetworkCredential(address, pass) returns null on clients ipad, but not on my test machines while using the same address and pass SmtpClient smtpServer = new SmtpClient(mailServer); smtpServer.UseDefaultCredentials = false; smtpServer.Credentials =…
user1803763
  • 9
  • 1
  • 4
-1
votes
1 answer

how to send mail from .net?

I want to send email from my .net application. Please tell me the steps for sending email.
user601367
  • 2,308
  • 12
  • 34
  • 44
-1
votes
2 answers

What is the difference between smtp server and smtp protocol? Can I also use smtp protocol to send email to non smtp server?

What is the difference between smtp server and smtp protocol? Can I also use smtp protocol to send email to non smtp server? Please bear with me, I'm new to these terminologies and trying to setup automated email for some job via Backend java code.
-1
votes
3 answers

php mailer SMTP Error: Could not connect to SMTP host

I have hosted my website on Plesk Hosting and was working on submitting the contact form. Installed PHP Mailer using composer. First I tried to send email using Gmail SMPT server it worked fine Second I tried to send email using my webhosting SMTP…
Pramit Sawant
  • 682
  • 1
  • 9
  • 17
-1
votes
1 answer

C# receive error sending a email

ERROR: Service not available, closing transmission channel. The server response was: Resources temporarily unavailable - Please try again later private void button1_Click(object sender, EventArgs e) { string smtpAddress =…
-1
votes
1 answer

Unable to send email to all recipient

Description: I deployed our MVC application in Azure, in 2 different environment i.e. UAT and Production. And that MVC application have a functionality of sending email. While sending an email from UAT is got sent successfully but while sending from…
user7745736
  • 87
  • 3
  • 8
-1
votes
1 answer

PHPMailer smtp connect missing 220

I have a problem connecting to SMTP-Server via PHPMailer. isSMTP(); $mail->SMTPDebug = true; $mail->Host = "ip.ip.ip.ip"; $mail->Port = "25"; $mail->Helo = ""; $mail->SMTPAutoTLS = false; $mail->SMTPSecure =…
steven
  • 4,868
  • 2
  • 28
  • 58
-1
votes
2 answers

Issue with Google smtp ASPMX.L.GOOGLE.COM

I couldn't send mail using smtp ASPMX.L.GOOGLE.COM. I have domain domain.co.in and email address test@domain.co.in which is accessible in gmail. i Could send mail manually but not programmatically. throws below error. Service not available, closing…
-1
votes
1 answer

Sending email in web application

I am trying to send an email after a click of a button. But this is the exception i get Is something wrong with my code ? I have already tried to go to my gmail settings and turned on the "Access for less secure apps" , still problem…
Ndumiso
  • 220
  • 4
  • 13
-1
votes
3 answers

SMTP client multi host

How i can make two hosts from diffrent websites ? I tried like this but it dosen't work. I would like to send e-mails from yahoo, hotmail, gmail, etc. private void SendMail() { try { MailMessage message = new…
Ops
  • 115
  • 2
  • 9
-1
votes
1 answer

Unable to send email using SMTP on server

I am using smtp client to send email, but problem is that when i tried to send email form my local system email successfully sent but i deployed on server than email not sent. Here is my code try { MailMessage mail = new…
-1
votes
1 answer

SEND MAIL IN PHP USING SMTP AUTH

I have been using mail code to send the mails in other server without any fail. But for a particular new server , i require to add SMTP authorization to send mail Here is the below code i wrote after lot of R&D. Still I am unable to send mail. $new…
Amlan
  • 129
  • 1
  • 2
  • 14