Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to get freedomaine name to use with services of emailing … to use with nodejs

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All I'm student in web developer I learn now node but I have problem with name domain to configure, so I don't know if there are some other services for emailing they don't need domain name, so I can grab API and work with in node or I have option to get free domain name and configure with services. Please i 'm breaking here, I just want to test!
 
Saloon Keeper
Posts: 6585
160
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm confused. You mention "email", "domain names", "an API" and "Node" - but it's not clear what each of those has to do with the others. What is the principal problem you're facing? It sounds as if you're looking for a free domain registration, but those aren't free. Nor are they required for "testing", which you say is your goal. So please provide more detail on what you're trying to accomplish, specifically.
 
Mahdi soultana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes Ok and tha,nk yoou very Much to replay me for me i wok in project like task manager and i work with nodejs by express and mongoose to sotre email of users in sign in and i want to send email by services like mailgun i want to use there api with free trail so if i want to run there function to and active the service i must have domain name to get the service ,so here the problem i don't have domaine name for that service , and i want to know if there are other services that use free email send from like  gmail or hotmail or yahoo without providing domaine name to use a service ! Ihope you understand if you want more info check service for mail gun and script is here :
///////

var API_KEY = 'YOUR_API_KEY';

var DOMAIN = 'YOUR_DOMAIN_NAME'; ///This is my problem !?

var mailgun = require('mailgun-js')({apiKey: API_KEY, domain: DOMAIN});

const data = {
 from: 'Excited User <me@samples.mailgun.org>',
 to: 'foo@example.com, bar@example.com',
 subject: 'Hello',
 text: 'Testing some Mailgun awesomeness!'
};

mailgun.messages().send(data, (error, body) => {
 console.log(body);
});

/////////////////////////

So idon't Know if there are other services they don't need to use domaine name just use gmail ("_") and thank you very much for your help i don't know if you really understand me !
 
Tim Moores
Saloon Keeper
Posts: 6585
160
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like Mailgun provides mail services including tracking and mailing lists. So it makes sense that you need a domain to use it, so that it can handle emails addressed and sent from that domain. Given that you're a student wanting to test some stuff, the question is: why do you want to use that service? What do you think it can do for you that you can't achieve by using a free email provider like Gmail? That seems a needless complication.
 
Mahdi soultana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HOW CAN I send from my code sending.JS to each user how sign Up  with Gmail  ? Can you give me some resource to follow
And i 'm really happy to get this conversation with you.
 
Tim Moores
Saloon Keeper
Posts: 6585
160
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would a user need to sign up with Gmail? Users should be able to use any address they want, no? You would use a Gmail address for sending them mails (search for "gmail api"). I have no idea how to integrate that with Node.js but searching for "node.js sending emails via gmail" looks promising.
 
Saloon Keeper
Posts: 22480
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mailgun is a bulk emailer. You actually only need a bulk emailer if you are a business with a fairly large email customer list or similar community. Or you are planning to spam people.  

You can do bulk emailing yourself, if you have enough bandwidth and equipment - mailgun is just an outsourcing provider. The rules for using mailgun are whatever mailgun says they are, so we can't really help much there.

JavaMail is a internet-standard mailing API that can send emails via the SMTP protocol and browse/retrieve from/manage mailboxes using mailbox protocols such as POP and IMAP and work equall well with any internet mail, including gmail or private email servers such as the one I run. Specifications for the mail protocols are formally defined in the Internet RFC documents. Specifications for JavaMail are in its JavaDocs, which, along with tutorials are available from Oracle's Java websites.
 
    Bookmark Topic Watch Topic
  • New Topic