is there any REST API for roundcube?
I have this need:
I developed a software where it sends some emails to clients and we need to save the sent mails in the "sent" folder.
I searched a lot and all tutorials say that I have to use the auto_bcc but I need to simulate the client's behavoiur, I mean, when the boss access the "automatic#domain.com" mailbox by using roundcube or another email client, he can see the sent folder and the sent mails (not in the inbox), so I was thinking that if I can connect to roundcube and simulate a mail sending, roundcube will save the mail in the sent folder.
I hope I have explained myself
Thanks
You not specify coding language ... in case you use php, use PHPmailer for send the emails.
PHPmailer use resident email server of your system to operate. This means PHPmailer and Roundcube use same standard (inbox/outbox) folders of each user.
Then simply send the email using phpmailer and the email shown in Sent folder !! Look this message shows as unread in Roundcube, you need to set up a filter inside Roundcube if you want to mark as read and/or move this emails to a specific folder.
Related
I have a script that runs a Java program to run some tests every night. It needs to email out the results of the tests, using JavaMail and a Google apps account.
How do I authenticate with Gmail (through the JavaMail API), without storing the password on the machine that runs the nightly tests? Can I get some sort of an Gmail authentication key that is valid for, say, a month? I don't mind refreshing the key every month, but don't want to keep the password on the test machine.
Google email accounts cost money so I would prefer not to create a new account just to email test results out.
I haven't tried that myself but you can try to send in the mail using the MX servers of googlemail. Currently these are
~ $ host -t MX googlemail.com
googlemail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
googlemail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
googlemail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
googlemail.com mail is handled by 5 gmail-smtp-in.l.google.com.
googlemail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
These are the servers responsible for inbound mails from the outside world, it's plain SMTP without the need of authentication (but you can try to start TLS to make the transfer more secure). There might be checks though, that prevent you from delivering mails to these servers (dyn-IP-checks, SFP, etc.) which is why this might fail.
If you don't want to send to a Google mail address you can try the same thing but replace the MX server of Google with the one responsible for the mail address you want to send to. Just use above call with the different domain or use one of the search results for "mx lookup" if you don't have that as command on your system.
So i have recently added and verified my mailgun account to my DNS & configured it through Exim through (WHM) on my server using the following guide.
enter link description here
It is now tracking my emails which is what i wanted, However on creating a new account through WHM and logging into the webmail into the new account i sent a test email to myself and i have at the bottom of the email "To unsubscribe click LINK"
As I'll be providing clients emails who will need to use emails daily i wouldn't want this link being under every single email they send.
I have upgraded my account, as i believed this would stop it but it hasn't?
Could anybody throw some light on this situation.
Many thanks
Log in to Mailgun, click your Domain Name and then disable the "Unsubscribes" option. This will then remove the link that is being automatically added to your outgoing emails.
I need to send a mail to any domains(gmail,yahoo) without configuring any mail servers in environment.rb.
Is it possible? if it's NO the how devise_invitable gem is allowing us to trigger the mail?
You can use third party email services like:
http://sendgrid.com/
http://www.mailgun.com/
http://aws.amazon.com/ses/
Though you will still need to specify those in environment files, just that you won't need to manage an email server.
How can I send mail via smtp using ssl? We are able to send the simple text mail, but it's not allowing the links or certain tags in the mail to pass, we tried using pear-mail.
Please suggest any options.
We are using third party GMAIL and hosting is in Godaddy. All mx record are fine and earlier we were able to deviver mails when we have not used ssl, also as i mentioned we are able to send the simple text mails with ssl, so please no answers regarding hostings, just any options how to use it with ssl.
You might want to look at phpmailer. You can use phpmailer to send outgoing messages through gmail's SMTP server (smtp.gmail.com), and it has options to connect to the SMTP server by SSL. phpmailer is very simple to setup - just a few PHP files to copy to your server. See https://github.com/PHPMailer/PHPMailer. You can start sending mail using the simple example at the github page above as a boilerplate.
When someone sends an email message, it can view on openerp inbox but the outgoing email sends again thru the configuration email address I set up.. why is it so?
I'm using Openerp v7.0.. I used the Outgoing Mail Server in the Settings > Technical > Email > Outgoing Mail Servers.
When someone sends an email and openerp retrieved it, it sends again and again an email but by using the email address I configure.
Your question is not quite clear[1], but this sounds like the default and correct behavior. When an OpenERP user receives an external email message, they will by default receive a copy of the email at their own email address (configured in their user preferences).
Let's say someone replies to a CRM Lead assigned to me (by sending an email to info#mycompany.com, which is imported via the fetchmail module into my OpenERP server): I want to receive a copy of this message in my real inbox at myname#mycompany.com).
In OpenERP 7.0 this behavior can be controlled in the "Email Preferences" of the user profiles: you can choose to receive email notification about new comments and new external emails, or about new external emails only, or no notification whatsoever.
[1]: The following information would help: the version of OpenERP you're using, how the emails are being fed to OpenERP (fetchmail module, mail gateway script, something else...), what email addresses are being fed to OpenERP, what email is configured on the user profiles, etc.