email not going to server address

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

email not going to server address

Post by kpassaur » Mon Mar 30, 2020 8:16 pm

When I send email using MS to connect to my server I can send it to my gmail account or hotmail account with no issues. However I can't send it my Godaddy account ([email protected]). From Outlook I can send it to myself ([email protected]) but not through MS. Any ideas? Years ago I could but something changed.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: email not going to server address

Post by Marcus Tettmar » Mon Apr 06, 2020 3:07 pm

When you say TO your godaddy email, do you mean VIA godaddy's smtp server? Or are you sending via some other SMTP server? Is any of this useful: ?

https://uk.godaddy.com/help/server-and- ... email-6949
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Mon Apr 06, 2020 3:52 pm

Godaddy hosts my account. It works fine, except that I can't send mail to myself if using MS. If I use my gmail or hotmail account I can send myself mail, I can't with the edocfile (Godaddy Hosted Site). In other words if I want to send myself an email I have to send it to my gmail account and then forward it to my edocfile mail account.

As for why do I want to send myself an email, I want a record of it like when I use Outlook, one goes in the sent folder.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: email not going to server address

Post by Marcus Tettmar » Tue Apr 07, 2020 7:39 am

Yes but how are you sending it? What smtp server are you using to send it with? And what error code do you receive from SMTPSendMail?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Tue Apr 07, 2020 2:00 pm

I guess I am not explaining it correctly. I can send MS mail to anyone and it works with one exception; I can't send it to myself. I do not know how I can clarify that more.

There is no error code as it comes back with a 250 accepted by the server. Keep in mind the line above it works with one exception.

It does not matter if my email address is in the "To" line or it is put into SMTP_CCLIST or SMTP_BCCLIST. It is as if my server is blocking it from delivery; however, it is not blocked - I can send it via hotmail or gmail.

I do know that many times mail sent with MS Mail goes into peoples junk mail folder because some mail servers seem to think it is trash because it is computer generated or perhaps it is seen as junk from something else.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: email not going to server address

Post by Marcus Tettmar » Tue Apr 07, 2020 2:07 pm

Sorry to sound like a stuck record. But I still have no idea how you are sending the email. What server you are using - what is the sending server?

But if you get 250 then the receiving server *IS* receiving it. What it is doing with it we don't have much control over. But it's being received. If you're not seeing it then it's being routed somewhere or dropped AFTER being received by the receiving server.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Tue Apr 07, 2020 2:27 pm

I don't understand what "server I am using". It is provided by Godaddy and it is set correctly as it works with all mail that is not going to my email address.

I would think it would be dropped as you suggested; however, with the same email server and the same settings if I am in Outlook it goes through. That leads me to believe it is something else.

It is not that big of a deal I suppose I can continue to send it to my gmail account and then forward it to my other account. The only reason I send it to myself is for when it is blocked by a spam filter and the receiving party still needs it. Since I have sent myself a copy, I forward that one from Outlook as it always goes through.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: email not going to server address

Post by Marcus Tettmar » Tue Apr 07, 2020 3:48 pm

I don't understand what "server I am using".
The server you have specified to SMTPSendMail in your Macro Scheduler code.

The 250 response comes from THAT server - the SENDING server. If you get a 250 response then the SENDING server has received your email for onward delivery. We have no control what happens after that though.

But if you have access to one you could try a different SMTP server to send the same message.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Tue Apr 07, 2020 4:15 pm

There is a failure to communicate here. I am using the SAME Server in Outlook as I use with MS Mail. With Outlook it works with MS Mail it fails. It only fails with my email address. Like this, if the send to is

"[email protected]; [email protected]"

and that is a valid email address you would get it, I would not if using MS Mail. If I put the same address in Outlook and use the same server as MS Mail we would both get it.

So, the server somehow knows it comes from MS Mail. Years ago it worked, I mean way over 10 years ago like before you supported HTML in mail. Perhaps if I switch it to HTML mail it will work - again not a big deal, just thought I should let you know about it.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: email not going to server address

Post by Marcus Tettmar » Tue Apr 07, 2020 4:31 pm

Ok but I still don’t know what settings you are using. Maybe outlook is set up and connected via 2fa. Maybe you need an app or api password. I still don’t know what isp/mail server you are using so I still cannot investigate.

Never mind. Honestly trying my very best to help here but I’m clearly doing an appalling job at asking one question.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Tue Apr 07, 2020 4:43 pm

Is this what you want "smtpout.secureserver.net" I use it in both MS Mail and Outlook.

Keep in mind it only fails with "[email protected]" as the email address.

In other words if the address line was

[email protected]; [email protected]; [email protected]

All would receive the email if using Outlook.

With the same settings [email protected] will not get the mail if using MS Mail.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: email not going to server address

Post by Marcus Tettmar » Tue Apr 07, 2020 5:08 pm

And what FROM address are you using? Same one that you are trying to send to? Both same in outlook and macro Scheduler? Everything else the same?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Tue Apr 07, 2020 5:10 pm

Yes both are the same and that seems to be the issue.

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: email not going to server address

Post by kpassaur » Tue Apr 07, 2020 5:15 pm

I got it to work - now goes to junk mail but I get it.

I tried changing the port from 3535 to 80, same thing
tried port 25 - mail failed to connect.

Changed to SSL set port to 587 and changed from address and now I am getting it. Thanks for your help

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts