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

  • SEARCH
  • Home
  • 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 764617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:45:27+00:00 2026-05-14T16:45:27+00:00

When I send e-mails using the package UTL_SMTP I am getting this error when

  • 0

When I send e-mails using the package UTL_SMTP I am getting this error when executing the comand UTL_SMTP.MAIL:

501 5.1.7 Bad sender address syntax

I am passing olny the e-mail as second parameter. This occurs only with certain smtp servers.
The code is this:

sFrom := 'myemail@myserver.com';
Utl_Smtp.Mail(Connection, sFrom);

Does anyone know how to fix this?

Thanks in advance.

  • 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-05-14T16:45:27+00:00Added an answer on May 14, 2026 at 4:45 pm

    Sending email can be a bitch, see the post of the SO creator:

    http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code.html

    If this is only happening with some of the smtp servers, I would check the logs of those servers to see what they complain about.

    My knowledge about SMTP is a bit dusty, but you can’t just connect to a server and tell it to deliver an email with an arbitrary FROM addr. Ask your admin about details.

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

Sidebar

Ask A Question

Stats

  • Questions 511k
  • Answers 511k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Maybe not the fastest way, but something like this should… May 16, 2026 at 5:23 pm
  • Editorial Team
    Editorial Team added an answer My servicereference.clientconfig was pointing to localhost instead of the deploy… May 16, 2026 at 5:23 pm
  • Editorial Team
    Editorial Team added an answer git rebase --interactive will let you squash, edit, split and… May 16, 2026 at 5:23 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm trying to send SMTP e-mails using PHPMailer, but I keep getting this error
I'm using PEAR's Mail package to send email from my script. I'm pretty sure
Is there any way to force a package to fail from a Send Mail
I would like to be able to send e-mails with PHP mail() containing the
I've a script to send packages of 300-500 e-mails hour. That means that this
I know how to send mails using the Microsoft Enterprise Library 2.0 using a
We are using sendmail to send mails from our web app and we do
I am using mail message class to send an email. But if i check
I know how to send mail using an SMTP server specified in a mail
is there any windows api that can send mail using smtp along with attachment

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.