Forwarding e-mail Forwarding e-mail

Topic: Forwarding e-mail

Post Forwarding e-mail
by Genochem on Thursday, March 24, 2022

I currently own the domain my-pool.com. It is not an active website and does not have an e-mail server. I would like to forward all e-mails from sales@my-pool.com to sales02@mypool.com

Would you service handle this and what credentials would i need to make the below code work.

if jsonObj.value("success") then
SET Mailer = Server.CreateObject("Persits.MailSender")
Mailer.Host = "m03.internetmailserver.net"
Mailer.Username = "sales02@mypool.com"
Mailer.Password = ""
Mailer.FromName = request("xfirst_name") & " " & request("xlast_name")
Mailer.From = request("xemail")
Mailer.AddAddress "sales02@mypool.com"
Mailer.Subject = "MyPool.com Customer Inquiry"
Mailer.Body = Order
Mailer.Send

Set Mailer= Nothing

Thank you in advance for you assistance.

Jack Genova

Reply with quote | Report
Post Re: Forwarding e-mail
by rahsharma on Thursday, March 24, 2022

Genochem wrote:I currently own the domain my-pool.com. It is not an active website and does not have an e-mail server. I would like to forward all e-mails from sales@my-pool.com to sales02@mypool.com

Would you service handle this and what credentials would i need to make the below code work.

if jsonObj.value("success") then
SET Mailer = Server.CreateObject("Persits.MailSender")
Mailer.Host = "m03.internetmailserver.net"
Mailer.Username = "sales02@mypool.com"
Mailer.Password = "Chemist99myp!"
Mailer.FromName = request("xfirst_name") & " " & request("xlast_name")
Mailer.From = request("xemail")
Mailer.AddAddress "sales02@mypool.com"
Mailer.Subject = "MyPool.com Customer Inquiry"
Mailer.Body = Order
Mailer.Send

Set Mailer= Nothing

Thank you in advance for you assistance.

Jack Genova
You can use Email Forwarding service to forward all emails from sales@my-pool.com to sales02@my-pool.com. Have your script send the email directly to Dynu mail servers which would recognize my-pool.com domain name. You may have to whitelist the IP address from which this script would run in the control panel.

SET Mailer = Server.CreateObject("Persits.MailSender")
Mailer.Host = "smtp.dynu.com"
Mailer.FromName = request("xfirst_name") & " " & request("xlast_name")
Mailer.From = request("xemail")
Mailer.AddAddress "sales@my-pool.com"
Mailer.Subject = "MyPool.com Customer Inquiry"
Mailer.Body = Order
Mailer.Send
Set Mailer= Nothing

Reply with quote | Report
Friday, November 15, 2024 5:37 AM
Loading...