In azure VM dot net application has been hosted. Through application we are sending emails. It was working fine till last week once the azure subscription got deactivated and reactivated all the settings gone. Now mails are in Queue directory.
We are using godaddy SMTP relay.
- In webconfig, we added below. <system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<specifiedPickupDirectory pickupDirectoryLocation="C:\inetpub\mailroot\Pickup" />
<network host="XX.XX.XX.XX" port="25" />
</smtp>
</mailSettings>
</system.net>
- In IIS, for the the SMTP of the domain application as below.
All the above settings used to work before.
- Now all the emails are in Queue of mailroot.
- Another important thing is between the VMs only internal IP sharing is happening not with VMs name sharing.
- For example VM1 and VM2. VM1 as shared directory of DATA. Previously it used share if we give VM1\Data from VM2. But now its not working we have to use 10.0.0.1\DATA