Questions tagged [mailing]

153 questions
3
votes
5 answers

How to validate SPF records with PHP

I'm developing a web mailing app on Codeigniter PHP. I would like to know how to check SPF records are valid with PHP. Is there a PHP API to do this? This is so I can implement SPF within my mailing App to verify a user has authorized our servers…
Neo Fethi Ch
  • 45
  • 1
  • 7
3
votes
12 answers

How to code html mailings?

I'm preparing to send mass email to customers which is in html + images. What are general rules to do make it display correctly in most popular mail clients? EDIT: Well it's for my customers - about few k clients. My question is - how to code this…
pbrodka
  • 1,137
  • 1
  • 11
  • 23
3
votes
1 answer

MailyHerald setup with Devise gem (error: NoMethodError at /user)

I’m trying to setup MailyHerald with devise gem in a rails 4 app. I followed these steps: https://github.com/Sology/maily_herald/wiki/Setup-with-'devise'-gem Now, when I try to register a new user (a confirmation mail should be sent via MailyHerald)…
fabbrro
  • 125
  • 7
3
votes
1 answer

Email django from using EmailMultiAlternatives

I'm trying to send a mail using Django with EmailMultiAlternatives. It works well but in "from" says "info" Is it posible to say my name for example? How can I do this? Here is my code: subject, from_email, to = 'Afiliations', 'info@domain.com',…
Disoner
  • 33
  • 1
  • 3
3
votes
1 answer

Is there a way not to redirect people to a "thank you" page with Mailchimp?

I saw on the Mailchimp website that you can redirect the user to a custom thank you page when they subscribe to your mailing list, but that's not exactly what I want to do. When a user subscribe to my mailing list, I want to hide the form and…
zoum26
  • 124
  • 1
  • 2
  • 12
3
votes
2 answers

Trouble sending via gmail's SMTP server with Java

One of my customers is using Gmail for business (part of Google Apps) and I had to reconfigure the website I've developed so it would match the new credentials. After a bit of struggle due to TLS errors, I've managed to make the code work on…
aBogdan
  • 180
  • 1
  • 12
2
votes
1 answer

Log monitoring and Alerting tool for log4j and python logs

I would like to search for Error/Fatal logs in various log files(12) and to get some sort of alert(mail) in case of the event. I have tested ChainSaw - Only supports log4j and has no alert feature Splunk - Free version does not have alert…
2
votes
0 answers

How to send a message through telegram bot? [There is a solution, but something is wrong]

I have a problem trying to send a message through the command. The fact is that the message comes only to me Method: else if(text.startsWith("/add")){ sendMessage.setText(message.getText()); …
2
votes
2 answers

detect that an email is sent to a mailing-list

My application sends mails containing an authentication token. The user which receives the mail clicks on a link and is directed to a webpage. The app recognizes him. The problem is that sometimes the mail is sent to a mailing list instead of a…
nicolasochem
  • 467
  • 4
  • 8
2
votes
2 answers

Do you still need to dispose attachments in .net v4 System.Net.Mail?

With .net v3.5 or less it was required to manually dispose attachments after sending an email using SMTP client, is this still required in .net v4?
JL.
  • 78,954
  • 126
  • 311
  • 459
2
votes
2 answers

Mailing with IMAP: How to detect that a message has been moved from one folder to another?

Using JavaMail API and IMAP, i want to learn that a message has been moved from folder a to b. how can i do that without adding listeners? i mean i want to discover the changes of messages when i login to the account and open the folder. The problem…
benchpresser
  • 2,171
  • 2
  • 23
  • 41
2
votes
2 answers

Exception when trying to get large attachments

I'm using saaj to get attachments with my java servlet (hosted with apache and tomcat). When trying to call message.getAttachments(); (where message is SOAPMessage object): If the attachment is small (few KB) - it works If the attachment is big…
Matan
  • 680
  • 2
  • 14
  • 24
1
vote
0 answers

MFMailComposeViewController canSendMail doesn't return right value in specific scenario

I found that [MFMailComposeViewController canSendMail] returns wrong value on application wake up from background after mail account was created/deleted. In my application there's some functionality that is relevant only when mailing is available.…
1
vote
0 answers

Cant create connection on Nodemailer

I am trying to use nodemailer in my application and i am using hostinger to host my emails when i try to connect nodemailer using this code to the hostinger email which is found on the nodemailer docs const nodemailer =…
Saybers
  • 39
  • 5
1
vote
0 answers

RateLimited middleware not working in Laravel 9 Job

I'm trying to send email notifications to my app users, limiting the number of emails to only 2 per minute, so as not to breach my email provider's allowed sending rate. So in MailingController.php I have:
E. Barney
  • 373
  • 4
  • 19
1
2
3
10 11