SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Mail Return Failure

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Mail Return Failure
Author Message
Con



Joined: 15 Nov 2002
Posts: 16

Post Mail Return Failure Reply with quote

Hi,

I'm trying to run this code

MailSend( "Outlook", "", "myemailaddress", "subject", "my text" )
and it returns
Sending Mail Failed: Mail return failure!
Do I need a password for using Outlook (Exchange)?

Thanks,
Con.

Fri Jan 31, 2003 8:55 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Mail Return Failure Reply with quote

Yes, inavalid login could be a problem, however it usually
returns Mail Login failure. In your case, I think your email client either does not allow sending email programmatically because of the "High" security settings in the Outlook options or your email server does not like the recipients address.

Try lowering the security settings or using SMTP email protocol in 24x7 instead of MAPI. In the last case 24x7 will not use your email client to send emails.

: Hi,

: I'm trying to run this code

: MailSend( "Outlook", "", "myemailaddress",
: "subject", "my text" )
: and it returns
: Sending Mail Failed: Mail return failure!
: Do I need a password for using Outlook (Exchange)?

: Thanks,
: Con.

Fri Jan 31, 2003 9:45 am View user's profile Send private message
Con



Joined: 15 Nov 2002
Posts: 16

Post Re: Mail Return Failure Reply with quote

: Yes, inavalid login could be a problem, however it usually
: returns Mail Login failure. In your case, I think your email client either
: does not allow sending email programmatically because of the
: "High" security settings in the Outlook options or your email
: server does not like the recipients address.

: Try lowering the security settings or using SMTP email protocol in 24x7
: instead of MAPI. In the last case 24x7 will not use your email client to
: send emails.

I changed the settings to Low on Internet, Lan security settings etc..
I'm also sure the recipient is correct. Is there anything else that might
be wrong with the MAPI config?

Con.

Thu Feb 13, 2003 9:24 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Mail Return Failure Reply with quote

Try changing "Send Method" in 24x7 options (Tools/Options menu). If you have "send by name" change it to "send by address" or the opposite.

Alternatively, you can choose to use SMTP email interface in 24x7 instead of using MAPI and Outlook.

: I changed the settings to Low on Internet, Lan security settings etc..
: I'm also sure the recipient is correct. Is there anything else that might
: be wrong with the MAPI config?

: Con.

Thu Feb 13, 2003 9:30 am View user's profile Send private message
Con



Joined: 15 Nov 2002
Posts: 16

Post Re: Mail Return Failure Reply with quote

Great,

Sending "By Name" works for any type of address
I can use in outlook.

Thanks.

: Try changing "Send Method" in 24x7 options (Tools/Options menu). If
: you have "send by name" change it to "send by address"
: or the opposite.

: Alternatively, you can choose to use SMTP email interface in 24x7 instead of
: using MAPI and Outlook.

Thu Feb 13, 2003 11:01 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.