Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9265607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:06:42+00:00 2026-06-18T14:06:42+00:00

[SMTPClient deliverMailFrom: sender to: recipient text: message usingServer: ‘mail.google.com’] on: Error do:[Transcript show:’Sumthing went

  • 0
[SMTPClient
    deliverMailFrom: sender
    to: recipient
    text: message
    usingServer: 'mail.google.com']
        on: Error
        do:["Transcript show:'Sumthing went wrong'"].

If SMTPClient raises an Error saying TelnetProtocolError or ConnectionTimedOut.
What’s the right way to just make the Transcript display my message?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:06:44+00:00Added an answer on June 18, 2026 at 2:06 pm

    You can always use a parameter in the #do: block to get information about the exception:

    [SMTPClient
        deliverMailFrom: sender
        to: recipient
        text: message
        usingServer: 'mail.google.com']
            on: Error
            do:[:e | Transcript show: e].
    

    The :e parameter in the #do: block is an instance of the error that has been raised.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sending a simple mail with attachment using SmtpClient but I get this error:
I want to send a mail message with the SmtpClient class. Here's the code
I am using SmtpClient to sent out email. I create some function in Mail
I am trying to send mail using SmtpClient() within my Winforms VB.Net program Here
My code for sending email through Gmail's smtp: SmtpClient client = new SmtpClient(smtp.gmail.com, 587);
Looking in this StackOverflow question it uses the following to send emails: System.Net.Mail.SmtpClient Is
SmtpClient emailClient = new SmtpClient(MailServer); System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(sender_mail_id(organisation mail id), pwd); emailClient.UseDefaultCredentials
I am using SmtpClient to send a message through a gmail account, I set
I have an application that uses SmtpClient to send E-Mail, but the E-Mails are
SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); Attachment data = new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.