Problem Sending Email (Unexpected RCPT TO Response)

Started by kiwilink, January 12, 2014, 07:54:38 AM

Previous topic - Next topic

kiwilink

I was able to send emails in the past but I must have changed something because I'm getting an error now (see attached).

If someone can point me in the right direction that would be great.  Test Message works fine - just when I try to drag and drop an image do I receive this

[attachment deleted by admin]

Mario

This is a response message from your mail server. Any additional info in the application log file?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

kiwilink

The log said the same thing.  I went and made sure there was nothing in the CC and BCC field (there was nothing showing).  So, I just entered an address in the CC field and it worked.  I then tried another and deleted the address in the CC field and it worked again.

Si, I'm guessing that even though I didn't see anything in the CC field there must have been something there.  Before I started troubleshooting this I went to all of these fields and held down the "delete key" to clear anything there.

Not sure why this occurred but its fixed!

Mario

Just to be on the safe side I've added a bit of code which trims blanks/spaces left and right and only forwards the address when it is not empty.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

kiwilink