(phpmailer) Is is fine to use a "from" address that has a different domain name than the website I use to send the mail? - phpmailer

so I was wondering if setting the sender address as "some_name#not-my-domain.Com" when I send an email through phpmailer (mail()) is fine or if it can cause it to be seen as junk mail?
no malicious use intended but I use that script as an unofficial tool at work so I would rather make it look like I send the email from my work address.
Thanks in advance

ok so the "related" side bar helped me more than google and it seems it isn't fine which makes sense.

Related

How to send 3 mails using 3 differents gmail address to the same user using gmail api

3 différents people in my compagny need to send the same e-mail every time their is someone new.
What's the best wait to send this email using gmail
From what i saw they need to give me their password. Is there a better way ?
Yes, there is. If you write a program and it has a configuration file, then the email address can be defined in the configuration file. You can then hand over the program to the others, who will use it on their own, changing their credentials in the configuration files.

URL to compose email in the new Inbox by Gmail

I'm a big fan of being one click (bookmarks bar link) away from composing a Gmail email. Now that things have moved over to Inbox by Gmail, the link no longer works.
I used to use this url https://mail.google.com/mail/u/0/#compose and I actually just figured out that I can hack the old link to still work with this link https://mail.google.com/mail/?ibxr=0#compose
Anyone know what the new proper link is for Inbox?
You can do it with "https://inbox.google.com/?mailto=mailto%3A" or with an address at the end if you use something like Alfred to dynamically fill a value "https://inbox.google.com/?mailto=mailto%3Aexample#website.com"
The Inbox compose URL allows to specify the to, cc, bcc, subject and body query parameters. None of them is mandatory. An invalid field will be ignored, but no error will be raised.
See the url below for a complete example:
https://inbox.google.com/?to={to}&cc={cc}&bcc={bcc}&subject={subject}&body={body}
PS: On a side note, this could be useful to configure Inbox as the default email client for Safari on macOS. See this response for more details.

Nodejs receiving email and redirecting to gmail email address

So i have an website, abc.com. If someone sends an email at support#abc.com i want to receive it at gmail address or whatever address i chose. Then if i reply to that email it in gmail then it should send either using gmail or mandrill. And from of the email should show up as support#abc.com.
This is my first time tackling email. And i have no clue.
So far i understand i need something to take emails in, send emails out, and then there is smtp server.
I get that nodemailer fulfils the role needed by two of the first things..But rest is confusing.
I know this sounds vague but as front end jquery dev i never thought of this much. So be patient and understand like with http protocol i have not much of understanding on this. This question could be many questions however i don't know what those question need to be.

How to prevent emails from a specific address going to Hotmail SPAM?

I have a site on a dedicated server with it's own IP range that has been running for a good few years. We have a notification email address (mailout#domain.com) which we use to send automated emails (activation emails when a user signs up and notification emails if something relevant to them happens, eg someone befriends them or comments on their picture etc). Users can select whether to receive these notifications or not. We have SPF and RDNS setup.
Email from all our other email accounts go to hotmail/gmail/yahoo mail etc correctly into the inbox. However any mail sent from the mailout#domain.com account (whether automatically by the server or manually via outlook) is delivered correctly to the inboxes for yahoo and gmail however goes into Junk in Hotmail (but other #domain.com addresses deliver to hotmail's inbox correctly). It says at the top of the message that MS Smartscreen marked this message as junk. I signed up for MS Smart Network Data Services to monitor the IP and it says it's not blocked but it displays Bot-like behaviour (which kind of makes sense as our notifications are kind of bot like even though they're not spam).
I can't work out what to do to prevent this from happening, we've authenticated the email, there's obviously not a general block on the IP as emails from different accounts on the same domain are going through successfully. It doesn't seem to be the format of the email either because if I send identical emails from mailout#domain.com and contact#domain then the one from contact# gets through to the inbox but the one from mailout# goes through to junk.
I can't really work out what to do and obviously trying to get MS to sort it out is never going to happen and i've used all their available tools. I can obviously try setting up a new email address (eg noreply#domain.com) and using that for notifications but i assume it will only be a matter of time before that gets blocked as well.
I would be immensely grateful for any suggestions anyone has!
Thanks so much,
Dave
You don't have many options. Try to do as many of the following as you can:
Reach out to MS support (don't discard this notion)
Implement DKIM and possibly DMARC (which are vastly more informative than SPF)
Change your IP address to something cleaner
Find and follow bulk sender best practices, e.g. M³AAWG's BCPs, perhaps the Help – I'm on a Blocklist doc

Monotouch: any ideas why sending mail is sporadic?

This is the code: d59516457">http://monobin.com/_d59516457
These are the results when using Debug|iPhone (Debug|Simulator works fine):
When the "From" is set to GMail, I can only send to a GMail account.
When the "From" is set to my ISP, I can send to myself (at the ISP) and GMail, but NOT to another of my email addresses not connected to the ISP. (it's to an address for one of my websites, which is then forwarded to my ISP).
Any ideas why this is so flakey? I thought at first it was the ISP, but now I'm not so sure.. is there a way to "trace" any of hops?
I'm concerned that if I submit it to the app store, a user will have the same problem as this, and I don't want a bad rep for the app. On the other hand, because it works, sometime and not others, maybe I could hope it's my phone?
if you want you can use http://testflightapp.com/ so you get some beta testers doing Ad-Hoc releases of your app (you choose who you want to invite), if you want so I can send you an invite I would be more than glad to help you to test your app :) email me if you want the invite, my email its on my profile
About the solution, you can check if you have a webmail based interface that you can view on your computer, the email that you sent from the iPhone must be on the sent items folder, if the email and the attachment are there you can be sure that your application is delivering correctly you email to the SMTP server so the problem resides somewhere else...
Also make sure your that your smtp server is not blacklisted as a SPAM server even more if your smtp server relies on shared enviroment like Hostgator shared plans etc
Alex

Resources