Help me send php mail from 2 different IPs and domains
Budget: $30 – $250 USD
Hi. I use @mail() to send php emails from my core php code and it works great. I have all the basic SPF and DKIM records on my domain and I always make sure my email headers match my domain name. My emails always go to users inboxes.
I would now like to be able to set some emails to be sent from a different IP and/or domain though because I want to send Invite Emails to users and don't want those to get my main domain blacklisted.
I'm good at making the phpmail code with the headers and stuff so it would be great if I could continue using that but somehow set something like the headers to just send from the 2nd domain and IP for certain functions in my code. Like an invites() function for example.
Note: I have clients with user accounts who will be loading a list of contacts/emails who they already have opt-ins from on their sites - but I'm going to make them send initial invites to verify with the user that we can also send them notifications from MY main website (on the behalf of the client) too.
I think I can just use PHPMailer to do this with some sort of SMTP settings in the code but I'm not sure how this all would work. Thanks!
I would now like to be able to set some emails to be sent from a different IP and/or domain though because I want to send Invite Emails to users and don't want those to get my main domain blacklisted.
I'm good at making the phpmail code with the headers and stuff so it would be great if I could continue using that but somehow set something like the headers to just send from the 2nd domain and IP for certain functions in my code. Like an invites() function for example.
Note: I have clients with user accounts who will be loading a list of contacts/emails who they already have opt-ins from on their sites - but I'm going to make them send initial invites to verify with the user that we can also send them notifications from MY main website (on the behalf of the client) too.
I think I can just use PHPMailer to do this with some sort of SMTP settings in the code but I'm not sure how this all would work. Thanks!