|
Hi, I'm coding with django. How do I dynamically create and delete email addresses? Users of my website will create about 100 email addresses/day. The email address is a one time use. When the email address receives it's first email, the email address will be deleted. So at any given time there won't be more than 200 email addresses under my account. It sounds weird, but trust me this is what I need to do for a certain application. Thanks! Benjamin |
|
You can use our control panel API to create email addresses, as shown here: Creating an Email Address Also, I should note that our Terms of Service prohibit you from using our email services as a general email service accessible by the public. Based on your description, it doesn't sound like you'll be doing that, but you might want to review our TOS and AUP just to be sure. Thanks! Thanks!!!! Now...how do I delete the email address? Use the delete_email API method. One other question. First I have to login... server.login('username', 'password') After I create the email address and target, do I need to logout for any reason? I didn't see any mention of this. Hi Benjamin, Closing the terminal will close the session or waiting for a period will allow the session to timeout. Thanks Klynton, So there's no command for closing a session? ...and/or no reason? There's no command because closing the terminal or pressing Control-C or Control-D will do exactly that for you.
showing 5 of 6
show all
|