Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts Goto page Previous  1, 2
Dharkael Posted: Wed Mar 09, 2005 11:58 pm
Send e-mail from Zmud without an e-mail client
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Feb 23, 2009 5:53 am   
 
Actually, I found out what the problem was. Seems that it didn't like the %concat(@cdoprefix, "blah") stuff. Changing it to the actual link works.

Love using it since now I can email notes directly to myself. :)

Charneus
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Mon Feb 23, 2009 1:24 pm   
 
What he don't tell you is that he pretends it's from a girl name Susan. Twisted Evil
_________________
http://www.Aardwolf.com
Reply with quote
ezfrag
Newbie


Joined: 09 Jan 2010
Posts: 2

PostPosted: Sat Jan 09, 2010 4:20 pm   
 
I have tried the script to send email from CMUD but keep getting an error message. I have MS Office 2007 installed so hopefully the relevant libraries are in place.

When I try to sendmail I get an error dialog box appear that says:
Error parsing command. The "sendusing" configuration value is invalid.

I have checked all of the variables that I edited and they all look ok (sendpassword, sendusername, etc)

Any suggestions?
Thanks
EZ
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sat Jan 09, 2010 6:48 pm   
 
The problem is using the variable cdoprefix. For whatever reason, it's not being treated correctly. I never really looked into the problem, whether it was some syntax I was missing or something else, but I did manage to fix it.

Currently, I'm sending emails in HTML formats, though you can change it back to text if you like. Here's the link you can use to get your email script working in CMUD. Keep in mind that it's currently configured for gmail (minus the passwords/usernames/etc), so if you use a different email, you'll need to figure out how to configure it yourself.

Basic Note Email Script (XML)

Charneus

(Yes, I know cdoprefix is still defined. It's just not being used for anything right now.)
Reply with quote
ezfrag
Newbie


Joined: 09 Jan 2010
Posts: 2

PostPosted: Sat Jan 09, 2010 7:51 pm   
 
Thanks you very much. That script works well.

Cheers,
EZ
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Sun Mar 11, 2012 1:38 am   
 
Hi, I'm new to this forum n new to cmud, I have tried the code from Vitae in the latest version of cmud.
And it doesn't work, it prompt a message said
Quote:
The "SendUsing" configuration value is invalid"
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Mon Mar 12, 2012 1:33 pm   
 
Use what charneus has posted. Basic Note Email Script (XML)
_________________
Taz :)
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Mon Mar 12, 2012 3:59 pm   
 
Taz wrote:
Use what charneus has posted. Basic Note Email Script (XML)
sorry, how do i use the xml script (im a newbie for cmud) :(
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Mon Mar 12, 2012 6:36 pm   
 
Copy it, open the Package Editor by clicking Settings at the top, and paste.
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Tue Mar 13, 2012 4:21 pm   
 
it doesn't seems to work... it said when i try to run the script (i create a new alias n paste the xml script in zscript, thats the only way i got it work!)
Quote:
ERROR: Syntax error in Alias: test : illegal character in expression: /
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Tue Mar 13, 2012 6:17 pm   
 
Because that's not what you're supposed to do to import. Just paste directly into the package editor, not into an alias (press Ctrl+V, or go to Edit -> Paste).
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Wed Mar 14, 2012 4:30 am   
 
thx, finally i can paste the script to cmud
but when i enter sendnote "test@email.com" "test" "test"
it comes out

Quote:
At least one of the From or Sender field is required, and neither was found


i hav entered all my personal value, i.e. sendusername, sendpassword and defaultfrom. and still it dun seems to work :(
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Wed Mar 14, 2012 1:48 pm   
 
That issue appeared on the previous page of this topic. Just set defaultfrom to your email address only.
_________________
Taz :)
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Wed Mar 14, 2012 5:28 pm   
 
that is what i did exactly, juz input xxx@gmail.com in defaultfrom
but it doesnt work.... Embarassed
or i should put xxx~@gmail.com ?
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Thu Mar 15, 2012 9:31 pm   
 
Try it and if that fails then change the following variable

#VAR MsgObj.From %expand( @DefaultFrom, 1)

to

#VAR MsgObj.From "xxx@gmail.com"
_________________
Taz :)
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Fri Mar 16, 2012 10:55 am   
 
Thx, this problem is solved, but i encounter another problem Mad
this time it said
Quote:
The message could not be sent to the SMTP server. The transport error code was 0X80040217. The server response was not available

Is that sth to do with my firewall setting?
Reply with quote
beckham894
Newbie


Joined: 11 Mar 2012
Posts: 7

PostPosted: Sat Mar 17, 2012 5:53 am   
 
Finally, I hav got it!!! Thx for the help! Very Happy
Reply with quote
Doram
Newbie


Joined: 12 Jul 2004
Posts: 5
Location: USA

PostPosted: Mon Aug 25, 2014 3:50 am   
 
What was the solution? Im getting the same issue. I can send fine from Yahoo, but Id much prefer to be using Gmail for this.

Thanks!
_________________
Reply with quote
gwerkheiser
Newbie


Joined: 06 Dec 2014
Posts: 1

PostPosted: Sat Dec 06, 2014 4:35 am   
 
I had this same problem as well trying to get it working on windows 7 Zmud 7.21. the solution i found was that i needed to enable access for less secure apps for my gmail account in question by:

Logging into the address you want to use for sending the email.
Visit the page: https://www.google.com/settings/security/lesssecureapps
Click Enable Less Secure Apps.
Click Done.

I hope that helps.

now, if i can only figure out how to trigger off of an email received that would be great!
Reply with quote
Xiija
Beginner


Joined: 24 Apr 2018
Posts: 10

PostPosted: Tue Mar 02, 2021 10:59 pm   
 
Just wondering if anyone can still use this?
i try and gmail just blocks me, even tho i have " use less secure" enabled..

https://www.google.com/settings/security/lesssecureapps
Reply with quote
Dartan
Newbie


Joined: 21 Jun 2018
Posts: 8

PostPosted: Wed Jun 08, 2022 2:12 pm   
 
Google removed less secure apps in general. Can't get it working with yahoo either :(

The transport failed to connect to the server
Reply with quote
Dartan
Newbie


Joined: 21 Jun 2018
Posts: 8

PostPosted: Wed Jun 08, 2022 3:53 pm   
 
Figured it out. Yahoo requires an one-time password for apps.
Reply with quote
Dartan
Newbie


Joined: 21 Jun 2018
Posts: 8

PostPosted: Wed Jun 08, 2022 10:03 pm   
 
Nevermind. Yahoo and even ATT (currently.com) don't seem to work well. Yahoo limits the number messages that can be sent. currently.com doesn't seem to allow any emails from zmud.

Gmail I tried using a app password but just can't connect. 0x80040217 error.
Reply with quote
miegorengman
Wanderer


Joined: 05 Sep 2008
Posts: 52

PostPosted: Wed Apr 12, 2023 5:12 am   
 
this almost works for me with windows 10.

When I attept to use any version of it I get

the sendusing configuration value is invalid

according to https://learn.microsoft.com/en-us/previous-versions/office/developer/exchange-server-2003/ms873037(v=exchg.65) there are only 3 options, option 2 as per the settings in this script is "cdoSendUsingPort" so this config error is a little baffling. if anyone has any insights that would be great, thanks.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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

© 2009 Zugg Software. Hosted by Wolfpaw.net