Reply to topic
ASPMail problems with remote host
shefdude


Joined: 16 Mar 2007
Posts: 1
Reply with quote
Hi all,

Thanks in advance for helping on this. After years of being overwhelmed with SPAM, we have migrated over to Google Apps for your domain. It's been great so far, except for one thing. We have a number of forms on our website that generate an email to users on our domain. With the migration, to Google mail, the ASPMail code is no longer working.

This is the current code:

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mail.mydomain.com"
Mailer.FromName = ContactName
Mailer.FromAddress = EmailAddress
Mailer.AddRecipient StaffName, StaffEmail
Mailer.Subject = "RSVP"
Mailer.BodyText = Body

Mailer.SendMail
Set Mailer = Nothing

Problem #1 is that mail.mydomain.com now points to google servers, and that doesn't seem to work. So no email is going out. (does there need to be a login? what would be the syntax for that in ASPMail?)

I tried to change mail.mydomain.com to the IP address of the Hostmysite server, and that didn't work because the hostmysite mail server still has our old accounts on it (which are now essentially orphaned) and instead of sending the mail through to user@mydomain.com, it simply drops the email into the old user account on the hostmysite server.

Problem #2 is that I believe something is wrong with the header and information in the email format above, and I fear that gmail will look at this message as a spoofed/spam email and toss it in the spam folder. It worked fin when the email was staying within the hosting facility (web server directly to the recipient mail server), but I think we need to audit it to ensure it'll be delivered properly.

The proper use is that when a web user submits the form, an email is generated from the system to our staff. The email appears to be from the web user, and the reply to should be the web user, so the staff can simply reply to the system generated email and have it delivered back to the web user.

Any guidance or tips you can provide for problem 1 or 2 would be greatly appreciated!

Best,
Dave
Sending to Google Apps
comprug
Forum Regular

Joined: 15 Feb 2006
Posts: 340
Reply with quote
Hello,
I too embraced a similar solution, as well as a similar problem. For me, the trick was switching the SMTP protocol to TLS, yet handling SSL with SMTP required special coding in Rails, and unfortunately I have no knowledge of ASP. I am, however, pretty sure that this is the problem. Try searching for "ASP STARTTLS".
ASP HELP
js5kda5


Joined: 30 Mar 2007
Posts: 1
Reply with quote
Hi,

I am having the same problem with my website, did you find out what do you have to do with the asp code in order to work.

Thanks
nathacof


Joined: 24 Oct 2006
Posts: 93
Location: Bear, DE
Reply with quote
Contact support and they can rename the old account so mail won't be delivered there anymore. Also you might want to check to see if your server is running IIS SMTP Service. This should allow you to use 127.0.0.1 as the mail server.

If not I believe that HostMySite's mail servers allowing relaying from certain known IPs so it may be possible to specify the address of one of HostMySite's mail server.

Again it probably wouldn't hurt to bring it up with Support.
ASPMail problems with remote host
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic